Displaying 2 results from an estimated 2 matches for "md_hossain107".
2020 Oct 27
0
How to correct my error message
Hi,
a is of length 60.
b is of length 60.
z is of length 57.
What do you expect to have happen when you create y_model ? What
happens to those other 3 observations?
Sarah
On Tue, Oct 27, 2020 at 3:07 PM varin sacha via R-help
<r-help at r-project.org> wrote:
>
> Dear R-experts,
>
> Here below my R code. The warning message is not a problem to me but there is an error message
2020 Oct 27
4
How to correct my error message
Dear R-experts,
Here below my R code. The warning message is not a problem to me but there is an error message more problematic. I understand the error message but I don't know if it is possible to correct the error and if yes, how to correct it.
Many thanks.
n <- 60
b <- runif(n, 0, 5)
a <- runif(n, 0, 5)
z <- rnorm(n*0.95,2,3) + rnorm(n*0.05,2,9)
y_model <- 0.1 * b - 0.5 *