Posts by Laorie • 397 points
8 posts
-
3
votes1
answer82
viewsQ: Graph of Conditional Densities of a Linear Regression
I have this data frame with two columns: Y and X. data=structure(list(Y = c(NA, -1.793, -0.642, 1.189, -0.823, -1.715, 1.623, 0.964, 0.395, -3.736, -0.47, 2.366, 0.634, -0.701, -1.692, 0.155, 2.502,…
-
2
votes1
answer53
viewsQ: Integrating columns of an Array using R (Error)
This is my matrix: funcao=structure(c(-14.7690673280818, -14.5543581356252, -12.1406211639974, -10.7200919648493, -9.55507848352318, -9.20790894914246, -8.74647670464071, -8.26548763467919,…
-
4
votes1
answer1695
viewsQ: Calculating T-Student Probabilities in R
I have the mean and standard deviation of my distribution: mean = -0.49 ; sd=3.029041 How do I calculate the probability of y a standard deviation below the average using the T-Student with 85…
-
5
votes1
answer1228
viewsQ: Calculating Integral using R
I need to calculate this simple integral below: It is the quantile function of the standard normal, where before hand we know that, q_0.5(z) = 0, for example. That is, for each theta (percentile) it…
-
3
votes1
answer219
viewsQ: Probabilities with pnorm R function
Statistics and Probability is not my area. A doubt has arisen, I think I’m doing it right but the result is strange. This is my series: y=structure(c(-0.276926746036887, 5.1002303288006,…
-
2
votes1
answer252
viewsQ: multiple columns using geom_lines ggplot
I have this data frame: structure(list(`Exchange Rate` = c(-0.145442175, 0.291096141, 0.489923112, -2.038363166, 1.180430664, 0.188114666, 0.850922634, 1.172142766, -3.980837975, 0.285762444,…
-
4
votes1
answer625
viewsQ: Graph of columns of a Data Frame using GGPLOT
I have that date.frame: A K1 B K2 C K3 D K4 E K5 1 0.89386498 0.239258200 -0.004970278 0.99477685 -0.243845617 0.80370370 0.3132989 0.637155451 -0.55467576 0.049341476 2 0.35422172 0.681622485…
-
5
votes1
answer365
viewsQ: Extract elements from a List
I have this list: a <- list() a[[1]] <- matrix(c(1,2),nrow = 2) How do I select element 2 ?