Matlab use fitplot to predict y values12/19/2023 ![]() For simple linear regression the function performs similarly to abline except that the line is constrained to the domain. ![]() For one-way or two-way ANOVAs the primary functions called are ot and lineplot.CI. This function is basically a wrapper to a variety of other functions. This function only works for non-linear models with two or fewer groups. In addition, if the linear model contains a factor then the model must be fit with the quantitative explanatory variable first, followed by the factor(s). This function does not work with a multiple linear regression, indicator variable regressions with more than two factors, ANOVAs other than one-way and two-way, or models with a categorical response variable. If this is changed from the default then the domain over which the logistic regression model is plotted will change. Pch = c(16, 21, 15, 22, 17, 24, c(3:14)),Ī vector of length two to control the x-axis in the logistic regression plot. Interval = c("none", "confidence", "prediction", "both"), Supported objects are linear models from simple linear regression (SLR), indicator variable regression (IVR), one-way ANOVA, or two-way ANOVA models general linear models that are logistic regressions with a binary response and non-linear regression with a single numerical response variable, at least one continuous explanatory variable and up to two group-factor explanatory variables. DescriptionĪ generic function for constructing a fitted model plot for an lm, glm, or nls object. FitPlot: DEPRECATED - Fitted model plot for an lm, glm, or nls object.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |