search for: tkpredict

Displaying 9 results from an estimated 9 matches for "tkpredict".

Did you mean: predict
2012 Sep 11
1
Plotting every probability curve
...me goes for all other variables categories, so that I have permutations for all possible combinations. I've found that I can use the TeachingDemos package (see below) to construct a gui which makes this easier, but I want to form curve separately so that I can save them library(TeachingDemos) TkPredict(mod1) Predict.Plot(mod1, pred.var = "our_bid", our_bid = c(0,300), age_of_oldest_driver2 = "18 to 21", credit_type2 = "POOR", coverage_type2 = "BASIC", home_owner2 = "0", state2 = "other", currently_insured2 = &q...
2010 Nov 15
3
How to plot effect of x1 while controlling for x2
Hello R-helpers, Please see a self-contained example below, in which I attempt to plot the effect of x1 on y, while controlling for x2. Is there a function that does the same thing, without having to specify that x2 should be held at its mean value? It works fine for this simple example, but might be cumbersome if the model was more complex (e.g., lots of x variables, and/or interactions). Many
2010 Nov 20
1
How to produce a graph of glms in R?
I'm very new to R and modeling but need some help with visualization of glms. I'd like to make a graph of my glms to visualize the different effects of different parameters. I've got a binary response variable (bird sightings) and use binomial glms. The 'main' response variable is a measure of distance to a track and the parameters I'm testing for are vegetation
2012 Oct 03
1
How to draw a graph after model selection?
I am very new to R and I basically used SPSS to do my model selection, which I had used generalized linear model. So my best model is P= D + T + L + T*L and there is a parameters table from the SPSS output which I suppose I have to use the coefficients (column B) in the table (as attached) when I draw my graph in R. I want to draw a graph in R which x-axis is D, using the model and the relevant
2010 Aug 07
3
plot the dependent variable against one of the predictors with other predictors as constant
Hi, folks, Happy work in weekends >_< My question is how to plot the dependent variable against one of the predictors with other predictors as constant. Not for the original data, but after prediction. It means y is the predicted value of the dependent variables. The constane value of the other predictors may be the average or some fixed value. ####### y=1:10 x=10:1 z=2:11
2012 Jul 05
2
Plotting the probability curve from a logit model with 10 predictors
I have a logit model with about 10 predictors and I am trying to plot the probability curve for the model. Y=1 = 1 / 1+e^-z where z=B0 + B1X1 + ... + BnXi If the model had only one predictor, I know to do something like below. mod1 = glm(factor(won) ~ as.numeric(bid), data=mydat, family=binomial(link="logit")) all.x <- expand.grid(won=unique(won), bid=unique(bid)) y.hat.new
2010 Oct 13
2
drilling down data on charts
Hey all, Suppose a=b^2 for starters. I want to be able to create a graph that displays a initially and if i was to click on 'a' to show 'b' on the chart itself. Does anyone know if this is possible in R? Also as an extension (not necessary as yet) to output the above into a 'html' file. Thanks, Sachin --- Please consider the environment before printing this email ---
2013 Feb 13
2
Need Help Plotting "Line" for multiple linear regression
Hello, My name is Craig and I need help plotting a "line" for a multiple linear regression in R. Here is my sample data (filename: convis.txt) Output of convis.txt is (vis and density being predictors of either avoidance or entrance): vis den avoid entrance 1 10 1 0.0000 0.0000 2 10 3 0.8750 0.0000 3 8 3 0.8180 0.0300 4 8 3 0.6670 0.0667 5 8 1
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...ot;r-help at r-project.org" <r-help at r-project.org> Subject: Re: [R] How to produce a graph of glms in R? Message-ID: <B37C0A15B8FB3C468B5BC7EBC7DA14CC633FEC591B at LP-EXMBVS10.CO.IHC.COM> Content-Type: text/plain; charset="us-ascii" Look at Predict.Plot (and possibly TkPredict) in the TeachingDemos package. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111 > -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Sonja Klein...