Learn R Programming

SciencesPo (version 1.3.9)

svTransform: Transform dependent variable

Description

Simple function to transform a dependent variable that in [0,1] rather than (0, 1) to beta regression. Suggested by Smithson & Verkuilen (2006).

Usage

svTransform(y)

Arguments

y
the dependent variable in [0, 1] interval.

encoding

UTF-8

References

Smithson M, Verkuilen J (2006) A Better Lemon Squeezer? Maximum-Likelihood Regression with Beta-Distributed Dependent Variables. Psychological Methods, 11(1), 54-71.

See Also

normalize.

Examples

Run this code
x <- sample(10); x;
 y <- normalize(x); y;
 svTransform(y)

Run the code above in your browser using DataLab