Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 0.1.0 #33

Merged
merged 10 commits into from
Nov 8, 2024
Merged
13 changes: 5 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,11 @@ Authors@R:
family = "Cheung",
role = c("aut"),
comment = c(ORCID = "0000-0001-5182-0752")))
Description: It computes betas-select, standardization in
structural equation models and regression models with only
selected variables standardized. It supports models with
moderation, with product terms formed after standardization.
It can also form confidence intervals that takes into account
the standardization appropriately, such as bootstrap
confidence intervals proposed by Cheung, Cheung, Lau, Hui,
and Vong (2022) <doi:10.1037/hea0001188>.
Description: Computes beta-selection, standardization in structural equation models and regression
models, standardizing only selected variables. Supports models with moderation, with product
terms formed after standardization. Offers confidence intervals that account for standardization,
including bootstrap confidence intervals as proposed by Cheung et al. (2022)
<doi:10.1037/hea0001188>.
License: GPL (>= 3)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Expand Down
4 changes: 2 additions & 2 deletions vignettes/betaselectr_glm.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Beta-Select Demonstration: Logistic Regression by `glm()`"
date: "2024-10-31"
date: "2024-11-08"
output:
rmarkdown::html_vignette:
number_sections: true
Expand Down Expand Up @@ -197,7 +197,7 @@ problems:
biased, as in the case of OLS standard
error [@yuan_biases_2011].

- There are cases in which some variabLes
- There are cases in which some variables
are measured by meaningful units and
do not need to be standardized. for
example, if `cov1` is age measured by
Expand Down
2 changes: 1 addition & 1 deletion vignettes/betaselectr_glm.Rmd.original
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ problems:
biased, as in the case of OLS standard
error [@yuan_biases_2011].

- There are cases in which some variabLes
- There are cases in which some variables
are measured by meaningful units and
do not need to be standardized. for
example, if `cov1` is age measured by
Expand Down
6 changes: 3 additions & 3 deletions vignettes/betaselectr_lav.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Beta-Select Demonstration: SEM by 'lavaan'"
date: "2024-10-31"
date: "2024-11-08"
output:
rmarkdown::html_vignette:
number_sections: true
Expand Down Expand Up @@ -147,7 +147,7 @@ problems:
- The product term, `iv:mod`, is also
standardized. This is inappropriate.
One simple but underused solution is
standardized the variables *before*
to standardize the variables *before*
forming the product term [@friedrich_defense_1982].

- The confidence intervals are formed using
Expand All @@ -164,7 +164,7 @@ problems:
it is still safe to at least try both
methods and compare the results.

- There are cases in which some variabLes
- There are cases in which some variables
are measured by meaningful units and
do not need to be standardized. for
example, if `cov1` is age measured by
Expand Down
4 changes: 2 additions & 2 deletions vignettes/betaselectr_lav.Rmd.original
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ problems:
- The product term, `iv:mod`, is also
standardized. This is inappropriate.
One simple but underused solution is
standardized the variables *before*
to standardize the variables *before*
forming the product term [@friedrich_defense_1982].

- The confidence intervals are formed using
Expand All @@ -104,7 +104,7 @@ problems:
it is still safe to at least try both
methods and compare the results.

- There are cases in which some variabLes
- There are cases in which some variables
are measured by meaningful units and
do not need to be standardized. for
example, if `cov1` is age measured by
Expand Down
6 changes: 3 additions & 3 deletions vignettes/betaselectr_lm.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Beta-Select Demonstration: Regression by `lm()`"
date: "2024-10-31"
date: "2024-11-08"
output:
rmarkdown::html_vignette:
number_sections: true
Expand Down Expand Up @@ -29,7 +29,7 @@ intervals for the parameters.
# Data and Model

The sample dataset from the package
`betaselectr` will be used for in this
`betaselectr` will be used for this
demonstration:


Expand Down Expand Up @@ -203,7 +203,7 @@ problems:

- There are cases in which some variabLes
are measured by meaningful units and
do not need to be standardized. for
do not need to be standardized. For
example, if `cov1` is age measured by
year, then age is more
meaningful than "standardized age".
Expand Down
4 changes: 2 additions & 2 deletions vignettes/betaselectr_lm.Rmd.original
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ intervals for the parameters.
# Data and Model

The sample dataset from the package
`betaselectr` will be used for in this
`betaselectr` will be used for this
demonstration:

```{r}
Expand Down Expand Up @@ -145,7 +145,7 @@ problems:

- There are cases in which some variabLes
are measured by meaningful units and
do not need to be standardized. for
do not need to be standardized. For
example, if `cov1` is age measured by
year, then age is more
meaningful than "standardized age".
Expand Down
Loading