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.5)iprior_0.7.4.zip(r-4.4)iprior_0.7.4.zip(r-4.3)
iprior_0.7.4.tgz(r-4.4-x86_64)iprior_0.7.4.tgz(r-4.4-arm64)iprior_0.7.4.tgz(r-4.3-x86_64)iprior_0.7.4.tgz(r-4.3-arm64)
iprior_0.7.4.tar.gz(r-4.5-noble)iprior_0.7.4.tar.gz(r-4.4-noble)
iprior_0.7.4.tgz(r-4.4-emscripten)iprior_0.7.4.tgz(r-4.3-emscripten)
iprior.pdf |iprior.html
iprior/json (API)
NEWS

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

Peer review:

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:

fisher-informationfunctionalgaussian-processesgprhilbertkernelkreinlongitudinalmultilevelpriorsrandom-effectsregressionreproducingrkhsrkksspace

4.68 score 1 stars 32 scripts 230 downloads 58 exports 40 dependencies

Last updated 8 months agofrom:c9967bb9fd. Checks:OK: 8 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-win-x86_64ERROROct 29 2024
R-4.5-linux-x86_64OKOct 29 2024
R-4.4-win-x86_64OKOct 29 2024
R-4.4-mac-x86_64OKOct 29 2024
R-4.4-mac-aarch64OKOct 29 2024
R-4.3-win-x86_64OKOct 29 2024
R-4.3-mac-x86_64OKOct 29 2024
R-4.3-mac-aarch64OKOct 29 2024

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:clicodetoolscolorspacedoSNOWfansifarverforeachggplot2gluegtableisobanditeratorslabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellmvtnormnlmepillarpkgconfigplyrR6RColorBrewerRcppRcppEigenreshape2rlangscalessnowstringistringrtibbleutf8vctrsviridisLitewithr

An R Package for Regression Modelling Using I-priors

Rendered fromiprior_paper.pdf.asisusingR.rsp::asison Oct 29 2024.

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

Closed-form EM algorithm matrix manipulations

Rendered fromkernel_matrix.Rmdusingknitr::rmarkdownon Oct 29 2024.

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

Regression with a functional covariate: Cross-validation analysis of the Tecator data set

Rendered fromtecator.Rmdusingknitr::rmarkdownon Oct 29 2024.

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

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