Description Usage Arguments Details Value References Examples
Fit a case based latent variable regression model.
1 | CBregress(x,y)
|
x,y |
Numeric vectors of equal length. |
The function CBregress
performs a case based univariate linear regression, similairly to lm(y~x)
.
In contrast to lm
, the statistical model assumes and estimates a latent variable X such that x-X and y-(a*X+b) are as small errors as possible.
Case based regression is best suited for small samples which are not normally distributed and have errors in both variables.
A list with the following fields.
a |
The estimate for the slope parameter |
b |
The estimate for the intercept parameter |
v0 |
The estimate for the variance of X |
vd |
The estimate for the error variance of x-X |
ve |
The estimate for the error variance of y-(a*X+b) |
X0 |
The vector of estimates for the true value X |
Reinhard Oldenburg (2020). Structural Equation Modeling Comparing Two Approaches. The Mathematica Journal, URL https://content.wolfram.com/uploads/sites/19/2020/12/Oldenburg.pdf .
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.