ml_norms | R Documentation |
This function generates a data frame with the estimated proportion
of children that understand and/or produce some items for a selected age range
and participant profiles. Estimated proportions and corresponding standard
errors and confidence intervals are computed following
\insertCitegelman2020regression;textualmultilex's adjustments to account
for zero- and one-inflation (see functions prop_adj
,
prop_adj_se
, and prop_adj_ci
).
ml_norms( participants = NULL, responses = NULL, item = NULL, language = c("Catalan", "Spanish"), type = c("understands", "produces"), age = c(0, 100), lp = c("Bilingual", "Monolingual", "Other"), sex = c("Female", "Male"), category = NULL, .width = 0.95 )
participants |
Participants data frame, as generated by
|
responses |
Responses data frame, as generated by |
item |
Character string indicating the item to compute norms for. If
left NULL (by default) norms will be computed for all items. You can check
the available items in the |
language |
Character string indicating the language to compute vocabulary norms for: "catalan" and/or "spanish" |
type |
Character string indicating the vocabulary type to compute norms for. Takes "understands" and/or"produces" (defaults to both). |
age |
Numeric vector of length two (min-max) indicating the age range of participants to compute norms for. |
lp |
character string indicating the language profile of participants to compute norms for: "Bilingual", "Monolingual", "Other" (defaults to all). |
sex |
character string indicating the sex of participants to compute norms for. Takes "Female" and/or "Male" (defaults to both). |
category |
character string indicating the semantic/functional
category/ies to include items from. See available categories in the
|
.width |
Numeric values ranging from 0 to 1 (not included) indicating the confidence level of confidence intervals (defaults to 0.95). |
A data frame (actually, a tibble
) with the proportion of participants in the sample that understand or produce the items indicated in item
, along with the standard error and confidence interval of the estimation. The output contains the following variables:
an integer identifying the Translation Equivalent (aka., pair of cross-language synonyms, doublets) the item belongs to.
character string indicating the item identifier (e.g., spa_mesa). This value is unique for each item. Responses to the same item from different participants are linked by the same item
value.
a character string indicating the language the item response belongs to: Catalan if item in Catalan), Spanish if item in Spanish.
an integer indicating the age group participants for which the estimates have been computed belong to (2 months-wide bins by default).
a character string indicating the vocabulary type computed: "understands" if option Understands was selected, and "produces" if option Understands & Says was selected.
a character string indicating participants' language profile, classified using parental reports of language exposure (see doe_spanish
, doe_catalan
, and doe_others
), and the thresholds passed in the bilingual_threshold
and other_threshold
.
a character string indicating the semantic/function category the item belongs to (e.g., Vehicles, Actions).
a character string that takes the value L1 if the item belongs to participants' language of most exposure, and L2 if the item belongs to participants' language of least exposure.
a character string indicating the text presented to participants in the questionnaire (replacing the item
identifier).
a positive integer indicating the number of positive responses: responses
is 2 (Understands or 3 (Understands & Says) for type
understands, and 3 (Understands & Says) if type
is produces.
a positive integer indicating the total number number of responses (useful for computing proportions).
a numeric value ranging from 0 to 1 (both included) indicating the estimated proportion of participants that provided a positive response, adjusted following \insertCitegelman2020regression;textualmultilex's method to account for zero- and one-inflation (see function prop_adj
).
a numeric value indicating the standard error (SE) of the estimated proportion of participants that provided a positive response, adjusted following \insertCitegelman2020regression;textualmultilex's method to account for zero- and one-inflation (see function prop_adj_se
).
a numeric value indicating the lower boundary of the 95% confidence interval (CI) of the estimated proportion of participants that provided a positive response, adjusted following \insertCitegelman2020regression;textualmultilex's method to account for zero- and one-inflation (see function prop_adj_ci
).
a numeric value indicating the upper boundary of the 95% confidence interval (CI) of the estimated proportion of participants that provided a positive response, adjusted following \insertCitegelman2020regression;textualmultilex's method to account for zero- and one-inflation (see function prop_adj_ci
).
Gonzalo Garcia-Castro
gelman2020regressionmultilex
ml_norms(item = "cat_casa", type = "understands", age = c(20, 24))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.