Home
last modified time | relevance | path

Searched +refs:effects +refs:lm (Results 1 – 25 of 1716) sorted by relevance

12345678910>>...69

/dports/math/R/R-4.1.2/src/library/stats/man/
H A Deffects.Rd6 \name{effects}
9 effects(object, \dots)
11 \method{effects}{lm}(object, set.sign = FALSE, \dots)
13 \alias{effects}
14 \alias{effects.lm}
15 \alias{effects.glm}
18 such as \code{\link{lm}}.}
28 objects inheriting from classes \code{"lm"} and \code{"glm"}.
31 For a linear model fitted by \code{\link{lm}} or \code{\link{aov}},
60 ( ee <- effects(lm(y ~ x)) )
[all …]
H A Dlmfit.Rd6 \name{lm.fit}
17 \alias{lm.fit}
18 \alias{lm.wfit}
54 \item{effects}{\code{n} vector of orthogonal single-df
55 effects. The first \code{rank} of them correspond to non-aliased
64 \code{effects} and \code{qr} components.
86 str(lm. <- lm.fit (x = X, y = y))
90 lm.. <- .lm.fit(X,y)
91 lm.w <- .lm.fit(X*sqrt(w), y*sqrt(w))
93 stopifnot(id(unname(lm.$coef), lm..$coef),
[all …]
H A Dalias.Rd13 \method{alias}{lm}(object, complete = TRUE, partial = FALSE,
18 \alias{alias.lm}
20 \item{object}{A fitted model object, for example from \code{lm} or
36 Although the main method is for class \code{"lm"}, \code{alias} is
39 Complete aliasing refers to effects in linear models that cannot be estimated
42 to effects that can be estimated less precisely because of
45 Some parts of the \code{"lm"} method require recommended package
51 \item{Complete}{A matrix with columns corresponding to effects that
53 \item{Partial}{The correlations of the estimable effects, with a zero
H A Dlm.summaries.Rd6 \name{lm.summaries}
7 \alias{family.lm}
8 \alias{formula.lm}
9 \alias{residuals.lm}
10 \alias{labels.lm}
15 \method{formula}{lm}(x, \dots)
17 \method{residuals}{lm}(object,
34 The generic accessor functions \code{coef}, \code{effects},
57 The model fitting function \code{\link{lm}}, \code{\link{anova.lm}}.
61 \code{\link{effects}}, \code{\link{fitted}},
[all …]
H A Dlm.Rd6 \name{lm}
7 \alias{lm}
8 %\alias{print.lm}
96 the formula will be re-ordered so that main effects come first,
133 \code{effects}, \code{fitted.values} and \code{residuals} extract
158 \code{effects} and (unless not requested) \code{qr} relating to the linear
160 \code{\link{effects}}.
183 The generic functions \code{\link{coef}}, \code{\link{effects}},
237 lm.D9 <- lm(weight ~ group)
238 lm.D90 <- lm(weight ~ group - 1) # omitting intercept
[all …]
/dports/math/libRmath/R-4.1.1/src/library/stats/man/
H A Deffects.Rd6 \name{effects}
9 effects(object, \dots)
11 \method{effects}{lm}(object, set.sign = FALSE, \dots)
13 \alias{effects}
14 \alias{effects.lm}
15 \alias{effects.glm}
18 such as \code{\link{lm}}.}
28 objects inheriting from classes \code{"lm"} and \code{"glm"}.
31 For a linear model fitted by \code{\link{lm}} or \code{\link{aov}},
60 ( ee <- effects(lm(y ~ x)) )
[all …]
H A Dlmfit.Rd6 \name{lm.fit}
17 \alias{lm.fit}
18 \alias{lm.wfit}
54 \item{effects}{\code{n} vector of orthogonal single-df
55 effects. The first \code{rank} of them correspond to non-aliased
64 \code{effects} and \code{qr} components.
86 str(lm. <- lm.fit (x = X, y = y))
90 lm.. <- .lm.fit(X,y)
91 lm.w <- .lm.fit(X*sqrt(w), y*sqrt(w))
93 stopifnot(id(unname(lm.$coef), lm..$coef),
[all …]
H A Dalias.Rd13 \method{alias}{lm}(object, complete = TRUE, partial = FALSE,
18 \alias{alias.lm}
20 \item{object}{A fitted model object, for example from \code{lm} or
36 Although the main method is for class \code{"lm"}, \code{alias} is
39 Complete aliasing refers to effects in linear models that cannot be estimated
42 to effects that can be estimated less precisely because of
45 Some parts of the \code{"lm"} method require recommended package
51 \item{Complete}{A matrix with columns corresponding to effects that
53 \item{Partial}{The correlations of the estimable effects, with a zero
H A Dlm.summaries.Rd6 \name{lm.summaries}
7 \alias{family.lm}
8 \alias{formula.lm}
9 \alias{residuals.lm}
10 \alias{labels.lm}
15 \method{formula}{lm}(x, \dots)
17 \method{residuals}{lm}(object,
34 The generic accessor functions \code{coef}, \code{effects},
57 The model fitting function \code{\link{lm}}, \code{\link{anova.lm}}.
61 \code{\link{effects}}, \code{\link{fitted}},
[all …]
H A Dlm.Rd6 \name{lm}
7 \alias{lm}
8 %\alias{print.lm}
96 the formula will be re-ordered so that main effects come first,
133 \code{effects}, \code{fitted.values} and \code{residuals} extract
158 \code{effects} and (unless not requested) \code{qr} relating to the linear
160 \code{\link{effects}}.
183 The generic functions \code{\link{coef}}, \code{\link{effects}},
237 lm.D9 <- lm(weight ~ group)
238 lm.D90 <- lm(weight ~ group - 1) # omitting intercept
[all …]
/dports/math/R-cran-BsMD/BsMD/man/
H A DDanielPlot.Rd5 Normal plot of effects from a two level factorial experiment.
13 \item{fit}{object of class \code{lm}. Fitted model from \code{lm} or \code{aov}.}
22 \item{half}{logical. If \code{TRUE}, half-normal plot of effects is display.}
32 the x-axis by default. If \code{half=TRUE} the half-normal plots of effects is
33 plotted as the normal quantiles of \code{0.5*(rank(abs(effects))-0.5)/length(effects)+1}
34 versus \code{abs(effects)}.
61 injectionMolding.lm <- lm(y3 ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 +
63 print(coef(injectionMolding.lm)) # Model coefficients
67 DanielPlot(injectionMolding.lm, half = TRUE, main = "Half-Normal Plot")
68 DanielPlot(injectionMolding.lm, main = "Normal Plot of Effects")
[all …]
H A DLenthPlot.Rd5 Plot of the factor effects with significance levels based on robust
10 xlab = "factors", ylab = "effects", faclab = NULL, cex.fac = par("cex.lab"),
14 \item{obj}{object of class \code{lm} or vector with the factor effects.}
24 effects vector (taken from \code{obj}) are labelled as \code{lab}.
36 If \code{obj} is of class \code{lm}, \code{2*coef(obj)} is used as factor
38 vector with the factor effects. Robust estimate of the contrasts standard
41 See Lenth(1989). Spikes are used to display the factor effects.
64 tensileStrength.lm <- lm(y2 ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 +
66 print(coef(tensileStrength.lm)) # Model coefficients
69 DanielPlot(tensileStrength.lm, main = "Daniel Plot")
[all …]
/dports/math/R-cran-car/car/vignettes/
H A Dembedding.Rnw6 \newcommand{\effects}{\texttt{effects}}
13 library(effects)
19 \title{Using \car{} and \code{effects} Functions in Other Functions}
39 m2 <- lm(prestige ~ education, data=carData::Prestige)
45 m3 <- lm(meanmod, dta)
56 …nction, but the call to \code{lm} looks for them in the global environment, and they are therefore…
61 m1 <- lm(.meanmod, .dta)
76 if (!require("effects")) stop("effects package unavailable")
77 print(m1 <- lm(formula, dta))
92 if (!require("effects")) stop("effects package unavailable")
[all …]
/dports/math/R-cran-car/car/inst/doc/
H A Dembedding.Rnw6 \newcommand{\effects}{\texttt{effects}}
13 library(effects)
19 \title{Using \car{} and \code{effects} Functions in Other Functions}
39 m2 <- lm(prestige ~ education, data=carData::Prestige)
45 m3 <- lm(meanmod, dta)
56 …nction, but the call to \code{lm} looks for them in the global environment, and they are therefore…
61 m1 <- lm(.meanmod, .dta)
76 if (!require("effects")) stop("effects package unavailable")
77 print(m1 <- lm(formula, dta))
92 if (!require("effects")) stop("effects package unavailable")
[all …]
H A Dembedding.R7 library(effects)
16 m2 <- lm(prestige ~ education, data=carData::Prestige)
36 m1 <- lm(.meanmod, .dta)
64 print(m1 <- lm(formula, .dta))
/dports/finance/R-cran-plm/plm/inst/tests/
H A Dtest_fixef_comp_lm_plm.Rout.save32 > ## (1) tests of effects in balanced case
33 > ## (2) tests of effects in unbalanced case
67 > # lm oneway individual balanced
71 > # lm oneway time balanced
75 > # lm twoways balanced
94 + stop("individual effects do not match")
97 + stop("time effects do not match")
100 + stop("individual effects do not match")
103 + stop("time effects do not match")
146 > # lm oneway time unbalanced
[all …]
/dports/math/R-cran-FrF2/FrF2/man/
H A DFrF2-package.Rd10 are offered (main effects and interaction plots for all factors simultaneously,
46 modified to automatically label effects significant according to the
122 # linear model with all main effects and 2-factor interactions
123 iM.lm <- lm(y ~ (.)^2, data = iMdat)
125 aliases(iM.lm)
128 # normal plot of effects, default is autolabel with alpha=0.05
129 DanielPlot(iM.lm)
132 # half normal plot of effects
134 # main effects plots
135 MEPlot(iM.lm)
[all …]
H A Daliases.Rd20 aliased effects (like interactions in a Plackett-Burman design
38 Function \code{aliasprint} returns NULL and is called for its side effects only.
42 \item{aliases }{is a list of vectors of aliased effects.}
58 \code{\link{IAPlot}} for effects plots }
69 aliases(lm(y ~ (.)^2, data = iMdat))
71 aliases(lm(y ~ (.)^2, data = iMdat), code=TRUE)
73 aliases(lm(y ~ (.)^3, data = iMdat), code=TRUE)
75 aliases(lm(y ~ (.)^3, data = iMdat), code=TRUE, condense=TRUE)
77 aliases(lm(y ~ ., data = iMdat))
/dports/math/R-cran-RcppEigen/RcppEigen/src/
H A DfastLm.cpp42 lm::lm(const Map<MatrixXd> &X, const Map<VectorXd> &y) in lm() function in lmsol::lm
54 lm& lm::setThreshold(const RealScalar& threshold) { in setThreshold()
60 inline ArrayXd lm::Dplus(const ArrayXd& d) { in Dplus()
68 MatrixXd lm::XtX() const { in XtX()
81 RealScalar lm::threshold() const { in threshold()
87 : lm(X, y) { in ColPivQR()
101 VectorXd effects(PQR.householderQ().adjoint() * y); in ColPivQR() local
102 m_coef.head(m_r) = Rinv * effects.head(m_r); in ColPivQR()
106 effects.tail(m_n - m_r).setZero(); in ColPivQR()
107 m_fitted = PQR.householderQ() * effects; in ColPivQR()
[all …]
/dports/math/R-cran-DoE.base/DoE.base/man/
H A Dhalfnormal.Rd4 \alias{halfnormal.lm}
24 \method{halfnormal}{lm}(x, labs = NULL, code = FALSE, pch = NULL, cex.text = 1,
145 aliased effects by orthogonalizing out previous effects from later effects in
163 very specifically for the class \code{lm} and class \code{design} methods:
278 \dontrun{halfnormal(lm(y~., add.response(plan, y)), ME.partial=TRUE)}
282 halfnormal(lm(y~.-D, add.response(plan, y)), ME.partial=TRUE)
287 halfnormal(lm(yc~A+B+C+D+E+F+G+H+J+A:B, plan))
289 halfnormal(lm(yc~A+B+C+D+E+F+G+H+J+A:B+E:F, plan))
291 halfnormal(lm(y~A+B+C+D+E+F+G+H+J+A:B+E:F, plan),ME.partial=TRUE)
294 halfnormal(lm(y~A+B+C+D+E+F+G+H+J+A:B+E:F, plan),ME.partial=TRUE)
[all …]
H A Dlm.design.Rd2 \alias{lm}
3 \alias{lm.default}
4 \alias{lm.design}
40 lm.design
51 \code{\link[stats:lm]{print.lm}} or \code{\link[stats:summary.lm]{print.summary.lm}}}
120 some but not all effects of a certain degree. Also, it may be statistically more wise
125 has been governed by simplicity: It uses fixed effects only and does either
126 main effects models (\code{degree=1}, default for \code{pb} and \code{oa} designs),
127 models with main effects and 2-factor interactions (\code{degree=2},
129 quadratic effects in addition to the 2-factor interactions, unchangeable default
[all …]
H A Dformula.design.Rd5 class design to involve the correct factors with the desired effects
27 \item{degree}{ degree of the model (1=main effects only, 2=with 2-factor
28 interactions and quadratic effects, 3=with 3-factor interactions and
29 up to cubic effects, ... }
67 effects.
78 that can is used for checking whether quadratic effects are needed.
82 see the documentation of \code{\link{lm.design}}.
92 \seealso{ See also \code{\link[stats]{formula}} and \code{\link{lm.design}} }
94 ## indirect usage via function lm.design is much more interesting
95 ## cf help for lm design!
[all …]
/dports/audio/whysynth/whysynth-20120903/src/
H A DMakefile.am45 WhySynth_gtk_LDADD = -lm -lmx @GTK_LIBS@ $(AM_LDFLAGS) $(GUI_LIBS)
47 WhySynth_gtk_LDADD = -lm @GTK_LIBS@ $(AM_LDFLAGS) $(GUI_LIBS)
60 effects.c \
61 effects.h \
87 whysynth_la_LIBADD = -lm -lmx $(PLUGIN_LIBS)
90 whysynth_la_LIBADD = -lm $(PLUGIN_LIBS)
/dports/finance/R-cran-plm/plm/man/
H A Dpggls.Rd37 \item{subset}{see \code{\link[=lm]{lm()}},}
39 \item{na.action}{see \code{\link[=lm]{lm()}},}
41 \item{effect}{the effects introduced in the model, one of
75 fixed effects. General FGLS is based on a two-step estimation
77 fixed effects (\code{model = "within"}) or first differences (\code{model = "fd"}), then its residu…
88 …ility reasons. If \code{model = "within"} (the default) then a FEGLS (fixed effects GLS, see ibid.)
/dports/math/R-cran-BsMD/BsMD/vignettes/
H A DBsMD.Rnw50 of the estimated contrast effects. Some procedures, for example, the
105 advance.lm <- lm(y1 ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 +
107 shrinkage.lm <- lm(y2 ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 +
109 strength.lm <- lm(y3 ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 +
111 yield.lm <- lm(y4 ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 +
113 coef.tab <- data.frame(advance=coef(advance.lm),shrinkage=coef(shrinkage.lm),
114 strength=coef(strength.lm),yield=coef(yield.lm))
129 function is an \texttt{lm} object, say, \texttt{lm.obj}. The function removes
160 signed effects is presented in figure b) below.
194 \texttt{2*coef(lm.obj)} is displayed.
[all …]

12345678910>>...69