-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathkonfound_lm.Rd
37 lines (32 loc) · 969 Bytes
/
konfound_lm.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/konfound-lm.R
\name{konfound_lm}
\alias{konfound_lm}
\title{Konfound Analysis for Linear Models}
\usage{
konfound_lm(
model_object,
tested_variable_string,
alpha,
tails,
index,
to_return
)
}
\arguments{
\item{model_object}{The linear model object produced by lm.}
\item{tested_variable_string}{The name of the variable being tested.}
\item{alpha}{Significance level for hypothesis testing.}
\item{tails}{Number of tails for the test (1 or 2).}
\item{index}{Type of sensitivity analysis ('RIR' by default).}
\item{to_return}{The type of output to return.}
}
\value{
The results of the konfound analysis for the specified variable(s).
}
\description{
This function performs konfound analysis on a linear model object
produced by lm.
It calculates the sensitivity of inferences for coefficients in the model.
It supports analysis for a single variable or multiple variables.
}