phit
Examples
-
Live
Predicting rent with a linear model
Fit monthly rent on floor area and bedrooms for 400 simulated flats, then predict with 95% prediction intervals.
-
Live
School effects with a mixed model
Estimate school random intercepts with fit_lmer and show them with their conditional uncertainty.
-
Live
Exploring the t distribution
Compare Student's t densities and tail probabilities with the normal as the degrees of freedom change.
-
Live
Simulated rents
Linear regression with a factor, compared with the coefficients that generated the data.
-
Live
School scores
Linear regression with a choice of predictors and an observed-against-fitted chart.
-
Live
Binary and count outcomes
Logistic, probit, and Poisson regression from R formulas, with predictions and confidence bands.
-
Live
School effects and shrinkage
A linear mixed model with random school intercepts, variance components, shrinkage, and what-if predictions.
-
Live
Random-effect intervals
A caterpillar plot of school effects with intervals from their conditional variances.
-
Live
Reading CSV files
The native CSV reader on editable text: guessed types, parse failures, problems, and agreement with phibble.
-
Live
· on the phplyr site
Rent dashboard
A reactive Livewire dashboard: filters, a phplyr summary, two phiz charts, a logistic model, and what-if predictions.
-
Live
· on the CmdStanPHP site
Bayesian school effects
The school effects model in Stan through CmdStanPHP, with posterior intervals next to Phit\fit_lmer().