Description Usage Arguments Value Examples
ols_fun
Gives the OLS likelihood given the parameters
1 | ols_fun(dat, param)
|
dat |
Dataframe to be used |
param |
Vector of parameters to be inserted |
The Log-likelihood of the OLS
1 2 3 4 | x <- runif(100, 0, 10)
y <- 2*x + rnorm(100,0,1)
dat <- data.frame(y,x)
ols_fun(dat, c(2,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.