From f78e81f96229ea01c2496e4a82aefc7958fc3327 Mon Sep 17 00:00:00 2001 From: andybeet <22455149+andybeet@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:41:16 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20andybeet?= =?UTF-8?q?/arfit@d3453c4d315d95a99cfcdd4ee354b3aed8e3d0cf=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/Equations.html | 2 +- articles/arfit.html | 4 +- articles/background_work.html | 2 +- articles/index.html | 2 +- authors.html | 2 +- index.html | 2 +- pkgdown.js | 8 ++ pkgdown.yml | 4 +- reference/arfit-package.html | 11 ++- reference/check_data_validation.html | 69 ++++++++++++++++++ reference/est_beta_given_rho.html | 2 +- reference/example_cedar_rapids.html | 2 +- reference/fit_ar1_opt.html | 2 +- reference/fit_to_data.html | 82 +++++++++++++++++++++ reference/index.html | 97 +++---------------------- reference/likelihood_ar1.html | 2 +- reference/sim_study_opt_ar1.html | 10 ++- reference/simulate_ar1.html | 8 +- reference/simulation_study_opt_ar1.html | 9 ++- search.json | 2 +- sitemap.xml | 15 +--- 23 files changed, 212 insertions(+), 129 deletions(-) create mode 100644 reference/check_data_validation.html create mode 100644 reference/fit_to_data.html diff --git a/404.html b/404.html index 1940dfd..76f127b 100644 --- a/404.html +++ b/404.html @@ -68,7 +68,7 @@

Page not found (404)

diff --git a/LICENSE-text.html b/LICENSE-text.html index 731cd5e..b29a0fd 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -55,7 +55,7 @@

License

diff --git a/articles/Equations.html b/articles/Equations.html index a844724..e4023a1 100644 --- a/articles/Equations.html +++ b/articles/Equations.html @@ -155,7 +155,7 @@

Eq 6 diff --git a/articles/arfit.html b/articles/arfit.html index 5eba513..0ddc16f 100644 --- a/articles/arfit.html +++ b/articles/arfit.html @@ -113,7 +113,7 @@

arfit

performed.

 fits <- example_cedar_rapids(nBootSims = 999)
-

+

@@ -124,7 +124,7 @@

arfit

diff --git a/articles/background_work.html b/articles/background_work.html index d437e9d..7d16961 100644 --- a/articles/background_work.html +++ b/articles/background_work.html @@ -500,7 +500,7 @@

References -

Site built with pkgdown 2.1.0.

+

Site built with pkgdown 2.1.1.

diff --git a/articles/index.html b/articles/index.html index f81d3ff..eb883eb 100644 --- a/articles/index.html +++ b/articles/index.html @@ -55,7 +55,7 @@

All vignettes

diff --git a/authors.html b/authors.html index 76e5d36..b191b8d 100644 --- a/authors.html +++ b/authors.html @@ -70,7 +70,7 @@

Citation

diff --git a/index.html b/index.html index 63fac01..8bc0b6b 100644 --- a/index.html +++ b/index.html @@ -118,7 +118,7 @@

Developers

diff --git a/pkgdown.js b/pkgdown.js index 9757bf9..1a99c65 100644 --- a/pkgdown.js +++ b/pkgdown.js @@ -152,3 +152,11 @@ async function searchFuse(query, callback) { }); }); })(window.jQuery || window.$) + +document.addEventListener('keydown', function(event) { + // Check if the pressed key is '/' + if (event.key === '/') { + event.preventDefault(); // Prevent any default action associated with the '/' key + document.getElementById('search-input').focus(); // Set focus to the search input + } +}); diff --git a/pkgdown.yml b/pkgdown.yml index a5a5ead..3bf2b0a 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,11 +1,11 @@ pandoc: 3.1.11 -pkgdown: 2.1.0 +pkgdown: 2.1.1 pkgdown_sha: ~ articles: arfit: arfit.html background_work: background_work.html Equations: Equations.html -last_built: 2024-08-15T17:45Z +last_built: 2024-10-09T16:41Z urls: reference: https://andybeet.github.io/arfit/reference article: https://andybeet.github.io/arfit/articles diff --git a/reference/arfit-package.html b/reference/arfit-package.html index e78b37f..9c4b35e 100644 --- a/reference/arfit-package.html +++ b/reference/arfit-package.html @@ -36,7 +36,7 @@
@@ -53,8 +53,8 @@

Details

Evaluates likelihood

  • Fits likelihood

  • Estimates MLE for model

  • -
  • Example provides

  • -
  • Tools for su=imulation study

  • +
  • Example provided

  • +
  • Tools for simulation study

  • References

    @@ -65,8 +65,7 @@

    References

    See also

    -
    @@ -83,7 +82,7 @@

    Author<

    diff --git a/reference/check_data_validation.html b/reference/check_data_validation.html new file mode 100644 index 0000000..b8167c7 --- /dev/null +++ b/reference/check_data_validation.html @@ -0,0 +1,69 @@ + +Checks data set for misspecification — check_data_validation • arfit + Skip to contents + + +
    +
    +
    + +
    +

    Check column names, missing data, consecutive equally spaced time units

    +
    + +
    +

    Usage

    +
    check_data_validation(dataSet)
    +
    + + +
    + + +
    + + + +
    + + + + + + + diff --git a/reference/est_beta_given_rho.html b/reference/est_beta_given_rho.html index 14b0695..d530ad1 100644 --- a/reference/est_beta_given_rho.html +++ b/reference/est_beta_given_rho.html @@ -73,7 +73,7 @@

    Arguments -

    Site built with pkgdown 2.1.0.

    +

    Site built with pkgdown 2.1.1.

    diff --git a/reference/example_cedar_rapids.html b/reference/example_cedar_rapids.html index 99d6ea5..1863176 100644 --- a/reference/example_cedar_rapids.html +++ b/reference/example_cedar_rapids.html @@ -69,7 +69,7 @@

    Arguments -

    Site built with pkgdown 2.1.0.

    +

    Site built with pkgdown 2.1.1.

    diff --git a/reference/fit_ar1_opt.html b/reference/fit_ar1_opt.html index 2da4d0e..d6fab85 100644 --- a/reference/fit_ar1_opt.html +++ b/reference/fit_ar1_opt.html @@ -56,7 +56,7 @@

    Usage diff --git a/reference/fit_to_data.html b/reference/fit_to_data.html new file mode 100644 index 0000000..c6d6d3a --- /dev/null +++ b/reference/fit_to_data.html @@ -0,0 +1,82 @@ + +Run test on user data set — fit_to_data • arfit + Skip to contents + + +
    +
    +
    + +
    +

    Fits a linear model to data set assuming AR1 error

    +
    + +
    +

    Usage

    +
    fit_to_data(dataSet = NULL, nBootSims = 999)
    +
    + +
    +

    Arguments

    + + +
    dataSet
    +

    Data frame. Two columns (x,y)

    + + +
    nBootSims
    +

    Numeric scalar. Number of bootstrap samples to perform

    + +
    + +
    + + +
    + + + +
    + + + + + + + diff --git a/reference/index.html b/reference/index.html index f677175..c9755d5 100644 --- a/reference/index.html +++ b/reference/index.html @@ -37,29 +37,6 @@

    Package index

    -

    Data simulation

    - -

    simulate from AR1 and AR2 models

    - - -
    - - - - -
    - - simulate_ar1() - -
    -
    Simulate data from an linear process with AR1 error
    -
    - - simulate_ar2() - -
    -
    Simulate data from an linear process with AR2 error
    -

    Simulation study

    Functions used in simulation study

    @@ -72,56 +49,26 @@

    Simulation study
    - simulation_study_grid_ar1() - -
    -
    Simulation study using grid search
    -
    - - simulation_study_grid_ar2() - -
    -
    Simulation study using optimization routine
    -
    - - simulation_study_opt_ar1() - -
    -
    Simulation study using optimization routine
    -
    - - simulation_study_opt_ar2() - -
    -
    Simulation study using optimization routine
    -
    - sim_study_opt_ar1()
    Simulation study using optimization routine, multiple cores
    - sim_single_opt_ar1() - -
    -
    Simulates n data sets and performs bootstrapping
    -
    - - sim_study_opt_ar2() + simulate_ar1()
    -
    Simulation study using optimization routine, multiple cores
    +
    Simulate data from an linear process with AR1 error
    - sim_single_opt_ar2() + simulation_study_opt_ar1()
    -
    Simulates n data sets and performs bootstrapping
    +
    Simulation study using optimization routine

    Likelihood Functions

    -

    AR1 and AR2 likelihoods

    +

    AR1 likelihood

    @@ -135,12 +82,6 @@

    Likelihood Functionslikelihood_ar2() - - -
    Evaluates the likelihood of AR2

    Estimation Functions

    @@ -154,28 +95,16 @@

    Estimation Functionsfit_ar1_grid() - - -
    Fit linear model with AR(1) error by GLS
    -
    - - fit_ar2_grid() - -
    -
    Fit linear model with AR(1) error by GLS
    -
    - fit_ar1_opt()
    Fit linear model with trend using optimization routine
    - fit_ar2_opt() + fit_to_data()
    -
    Fit linear model with trend using optimization routine
    +
    Run test on user data set
    est_beta_given_rho() @@ -184,16 +113,10 @@

    Estimation Functionsest_beta_given_rho2() - -

    -
    Estimate beta conditional on known AR1 parameter
    -
    - - isStationary_ar2() + check_data_validation()
    -
    Determines stationarity of AR2
    +
    Checks data set for misspecification

    Examples

    @@ -238,7 +161,7 @@

    Package Info -

    Site built with pkgdown 2.1.0.

    +

    Site built with pkgdown 2.1.1.

    diff --git a/reference/likelihood_ar1.html b/reference/likelihood_ar1.html index fec7e3b..4012325 100644 --- a/reference/likelihood_ar1.html +++ b/reference/likelihood_ar1.html @@ -78,7 +78,7 @@

    Value

    diff --git a/reference/sim_study_opt_ar1.html b/reference/sim_study_opt_ar1.html index 9007bc1..d1441a8 100644 --- a/reference/sim_study_opt_ar1.html +++ b/reference/sim_study_opt_ar1.html @@ -56,7 +56,8 @@

    Usage nSims = 200, nBootSims = 500, setSeed = NULL, - nCores = NULL + nCores = NULL, + missing = F ) @@ -96,6 +97,11 @@

    Argumentsmissing +

    Boolean. Whether to simulate with missing data (Default = F). +If T then a single missing value is added at random to the response

    + +
    nVec

    Numeric vector. Values for the length of time series to simulate

    @@ -122,7 +128,7 @@

    Examples -

    Site built with pkgdown 2.1.0.

    +

    Site built with pkgdown 2.1.1.

    diff --git a/reference/simulate_ar1.html b/reference/simulate_ar1.html index add6f90..9be0c36 100644 --- a/reference/simulate_ar1.html +++ b/reference/simulate_ar1.html @@ -50,7 +50,7 @@

    Simulate data from an linear process with AR1 error

    Usage

    -
    simulate_ar1(alpha, beta = 0, sigma, rho, n)
    +
    simulate_ar1(alpha, beta = 0, sigma, rho, n, missingValues = NULL)
    @@ -76,6 +76,10 @@

    Argumentsn

    Numeric scalar. Length of time series

    + +
    missingValues
    +

    Numeric vector. Indices of y values for which there is missing data

    +