Displaying 4 results from an estimated 4 matches for "pneumo".
Did you mean:
pneumo2
2007 Jan 06
2
Using VGAM's vglm function for ordinal logistic regression
...of the VGAM library to perform proportional
odds ordinal logistic regression. The issue that I would like help with
concerns the format in which the response variable must be provided for
this function to work correctly. Consider the following example:
------
library(VGAM)
library(MASS)
attach(pneumo)
pneumo # Inspect the format of the original dataset
# Restructure the pneumo dataset into a different format
pneumo2 <- data.frame(matrix(ncol=3, nrow=24))
colnames(pneumo2) <- c('exposure.time', 'severity', 'freq')
pneumo2[,1] <- rep(pneumo[,1],3)
pneumo2[,2] &l...
2008 Nov 14
0
VGAM package released on CRAN
Dear Prof. Thomas Yee
I$B!G(Bm very interested in your R program VGAM.
I tried below your data:
# Nonparametric proportional odds model
data(pneumo)pneumo = transform(pneumo,
let=log(exposure.time))vgam(cbind(normal,mild,severe) ~ s(let),
cumulative(par=TRUE), pneumo)
However, the results by Version of VGAM are different;
----------The result by Version 0.7-7 -----------------------------
Call:
vgam(formula = cbind(V1, V2, V3) ~ s(V4), f...
2003 May 22
1
faraway package installation failed (PR#3076)
...2121 05-05-03 15:32 faraway/data/melanoma.rda
1901 05-05-03 15:32 faraway/data/odor.rda
42169 05-05-03 15:32 faraway/data/ozone.rda
2677 05-05-03 15:32 faraway/data/penicillin.rda
42496 05-05-03 15:32 faraway/data/pima.rda
2577 05-05-03 15:32 faraway/data/pneumo.rda
3557 05-05-03 15:32 faraway/data/rabbit.rda
4237 05-05-03 15:32 faraway/data/rats.rda
5317 05-05-03 15:32 faraway/data/savings.rda
71017 05-05-03 15:32 faraway/data/solder.rda
7737 05-05-03 15:32 faraway/data/speedo.rda
3885 05-05-03 15:32 faraway/...
2008 Jun 28
0
ungrouped data for multinomial regression
Thanks for helping me out with the thing of quotation marks. I finally
could save time running programs at the university and home.
One additional question for all of you. I'm starting to be familiar
with multinomial regression models. Actually I'm doing some exercise
with the pneumo data that appears in Faraway library. The database has
24 observations and I want to study the probability of getting sick
according with the number of years working at a coal mine.
Here is the issue. For modelling that response what I need to include
in the model is something similar at what is pr...