Package: iprior 0.7.4

iprior: Regression Modelling using I-Priors

Provides methods to perform and analyse I-prior regression models. Estimation is done either via direct optimisation of the log-likelihood or an EM algorithm.

Authors:Haziq Jamil [aut, cre]

iprior_0.7.4.tar.gz
iprior_0.7.4.zip(r-4.7)iprior_0.7.4.zip(r-4.6)iprior_0.7.4.zip(r-4.5)
iprior_0.7.4.tgz(r-4.6-x86_64)iprior_0.7.4.tgz(r-4.6-arm64)iprior_0.7.4.tgz(r-4.5-x86_64)iprior_0.7.4.tgz(r-4.5-arm64)
iprior_0.7.4.tar.gz(r-4.7-arm64)iprior_0.7.4.tar.gz(r-4.7-x86_64)iprior_0.7.4.tar.gz(r-4.6-arm64)iprior_0.7.4.tar.gz(r-4.6-x86_64)
iprior_0.7.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
iprior/json (API)

# Install 'iprior' in R:
install.packages('iprior', repos = c('https://haziqj.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/haziqj/iprior/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • hsb - High school and beyond dataset
  • hsbsmall - High school and beyond dataset
  • pollution - Air pollution and mortality
  • tecator.cv - Results of I-prior cross-validation experiment on Tecator data set

On CRAN:

Conda:

fisher-informationfunctionalgaussian-processesgprhilbertkernelkreinlongitudinalmultilevelpriorsrandom-effectsregressionreproducingrkhsrkksspacecpp

4.72 score 1 stars 35 scripts 264 downloads 58 exports 30 dependencies

Last updated from:c9967bb9fd. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK173
linux-devel-x86_64OK191
source / vignettesOK247
linux-release-arm64OK181
linux-release-x86_64OK203
macos-release-arm64OK108
macos-release-x86_64OK315
macos-oldrel-arm64OK178
macos-oldrel-x86_64OK258
windows-develOK162
windows-releaseOK162
windows-oldrelOK170
wasm-releaseOK142

Exports:as.timecheck_thetadec_placdecimal_placeeigenCppfastSquarefastVDiaggen_multilevelgen_smoothget_convergenceget_degreeget_estlget_hurstget_hypget_interceptget_kern_matrixget_kernelsget_lambdaget_lengthscaleget_methodget_niterget_offsetget_prederrorget_psiget_seget_sizeget_thetaget_timeget_ygg_col_huegg_color_huegg_colour_hueggColPaliprioriprior_cvipriorColPalis.ipriorKernelis.ipriorModis.kern_canonicalis.kern_fbmis.kern_linearis.kern_pearsonis.kern_polyis.kern_seis.nystromkern_canonicalkern_fbmkern_linearkern_pearsonkern_polykern_sekernLplot_fittedplot_fitted_multilevelplot_iterplot_ppcplot_residsummary.ipriorMod

Dependencies:clicodetoolscpp11doSNOWfarverforeachggplot2gluegtableisobanditeratorslabelinglifecyclemagrittrmvtnormplyrR6RColorBrewerRcppRcppEigenreshape2rlangS7scalessnowstringistringrvctrsviridisLitewithr

Regression with a functional covariate: Cross-validation analysis of the Tecator data set
Easy train/test split | LOOCV experiment

Last update: 2024-04-01
Started: 2017-11-27

An R Package for Regression Modelling Using I-priors
Introduction | The iprior package | Modelling examples | Summary and discussion | I-prior models as GPR models | Remark on hyperparameters and standard errors | Remark on the scale parameters

Last update: 2024-04-01
Started: 2017-11-02

Closed-form EM algorithm matrix manipulations
Introduction | The code | Example | Indexing the kernel matrrix list Hl | Indices for $\mathbf P_k \mathbf R_k + (\mathbf P_k \mathbf R_k)^\top$ | Indices for $\mathbf P_k \mathbf U_k +(\mathbf P_k \mathbf U_k)^\top$ | Calculation of $\mathbf S_k$ | Efficient calculation of $\mathbf P_k^2$

Last update: 2024-04-01
Started: 2017-01-11

Readme and manuals

Help Manual

Help pageTopics
Accessor functions for 'ipriorMod' objects.Accessors get_convergence get_degree get_estl get_hurst get_hyp get_intercept get_kernels get_kern_matrix get_lambda get_lengthscale get_method get_niter get_offset get_prederror get_psi get_se get_size get_theta get_time get_y
Convert 'difftime' class into 'time' classas.time
Check the structure of the hyperparameters of an I-prior modelcheck_theta
Cut a numeric vector to a certain number of decimal placesdecimal_place dec_plac
Eigen decomposition of a matrix in C++.eigenCpp
Multiplying a symmetric matrix by itself in C++.fastSquare
Computing a quadratic matrix form in C++.fastVDiag
Generate simulated data for multilevel modelsgen_multilevel
Generate simulated data for smoothing modelsgen_smooth
Emulate 'ggplot2' default colour paletteggColPal gg_color_hue gg_colour_hue gg_col_hue ipriorColPal
High school and beyond datasethsb
High school and beyond datasethsbsmall
Fit an I-prior regression modeliprior iprior.default iprior.formula iprior.ipriorKernel iprior.ipriorMod
Perform a cross-validation experiment with the iprior functioniprior_cv iprior_cv.default iprior_cv.formula
Test 'iprior' objectsis.ipriorKernel is.ipriorMod is.iprior_x is.nystrom
Test kernel attributesis.kern_canonical is.kern_fbm is.kern_linear is.kern_pearson is.kern_poly is.kern_se is.kern_x
Reproducing kernels for the I-prior packagekernel kernels kern_canonical kern_fbm kern_linear kern_pearson kern_poly kern_se
Load the kernel matrices for I-prior modelskernL kernL.formula
Obtain the log-likelihood and deviance of an I-prior modeldeviance.ipriorKernel deviance.ipriorMod logLik.ipriorKernel logLik.ipriorMod
Plots for I-prior modelsplot.ipriorMod plot_fitted plot_fitted_multilevel plot_iter plot_ppc plot_resid
Air pollution and mortalitypollution
Obtain predicted values from 'ipriorMod' objectsfitted.ipriorMod predict predict.ipriorMod print.ipriorPredict
Obtain the standard deviation of the residuals 'sigma'sigma sigma.ipriorMod
Print and summary method for I-prior modelsprint.ipriorMod summary.ipriorMod
Results of I-prior cross-validation experiment on Tecator data settecator.cv
Update an I-prior modelupdate.ipriorMod