regboundfcn: range for regression parameters

Description Usage Arguments Details Value Examples

View source: R/ouxy.r

Description

Set up range for regression parameters

Usage

1
regboundfcn(olssum = olssum)

Arguments

olssum

summary statistics from ordinary least square performed by lm.

Details

An ordinary least square analysis is performed on regression y \sim x_1 + x_2. Parameter estimates \hat{b} and standard errors sd(\hat{b}) are used to construct the bound using formula \hat{b}\pm 3sd(\hat{b}).

Value

A vectors of values containing the range of regression parameters

Examples

1
2
3
4
5
resptrait<-rnorm(10)
predtrait1<-rnorm(10)
predtrait2<-rnorm(10)
olssum <- base::summary(lm(resptrait~predtrait1+predtrait2))
regboundfcn(olssum=olssum)

ouxy documentation built on July 2, 2020, 4:05 a.m.

Related to regboundfcn in ouxy...