Skip to content

Commit

Permalink
Add docs for BP test and Boot Residual linear regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushpatnaikgit committed Oct 23, 2024
1 parent 58989db commit d43ffce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/src/api/frequentist_regression.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ fit(formula::FormulaTerm, data::DataFrame, modelClass::LinearRegression)
fit(formula::FormulaTerm, data::DataFrame, modelClass::LinearRegression, bootstrap::Boot_Residual, sim_size::Int64 = 1000)
```

### With bootstrap
Fitting linear regression while estimating the standard error using bootstrap statistics.
```@docs
Boot_Residual
```

### Breusch-Pagan Lagrange Multiplier test for heteroscedasticity
Breusch-Pagan tests the homoscedasticity assumption of the residual variance in linear regression.
```@docs
BPTest(container::FrequentistRegression, data::DataFrame)
```

## Logistic Regression
```@docs
fit(formula::FormulaTerm, data::DataFrame, modelClass::LogisticRegression, Link::Logit)
Expand Down
2 changes: 1 addition & 1 deletion docs/src/man/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ sigma(model)

We can also get the predicted response of the model, along with other measures like the vector of Cook's distances using the [`predict`](@ref) and [`cooksdistance`](@ref) functions exported by CRRao. Here's a plot of the vector of Cook's distances.

```@example ols_linear_regression
```@repl ols_linear_regression
plot(cooksdistance(model))
```

Expand Down

0 comments on commit d43ffce

Please sign in to comment.