alligator: Alligator Food

Description Usage Format Source References Examples

Description

The data describe the food choice of alligators, they originate from a study of the Florida Game and Fresh Water Commission.

Usage

1

Format

A data frame with 219 observations on the following 4 variables.

Food

Food type with levels bird, fish, invert, other and rep

Size

Size of the alligator with levels <2.3 and >2.3

Gender

Gender with levels female and male

Lake

Name of the lake with levels George, Hancock, Oklawaha and Trafford

Source

http://www.stat.ufl.edu/~aa/cda/sas/sas.html

References

Agresti (2002): Categorical Data Analysis, Wiley.

Examples

1
2
3
4
5
## Not run: 
data(alligator)
star.nominal(Food ~ Size + Lake + Gender, data = alligator, nlines = 2)

## End(Not run)

Example output

Loading required package: VGAM
Loading required package: stats4
Loading required package: splines
***
The package EffectStars is not the latest implementation of effect stars, 
it is recommended to use EffectStars2 instead!
***
$odds
       (Intercept)  Size>2.3 LakeHancock LakeOklawaha LakeTrafford Gendermale
bird     0.3641680 2.2214343   1.5482231    0.3216856    0.8476101  0.8053126
fish     4.1452887 1.0702729   0.8709607    0.5577582    0.2460243  1.4768389
invert   4.9086376 0.2812961   0.1468020    1.3900674    0.7815290  0.9295460
other    0.9912789 0.8003797   1.8746401    0.5724831    1.1681691  1.1472118
rep      0.1361403 1.8681520   2.6947478    7.0036399    5.2526079  0.7884749

$coefficients
        (Intercept)    Size>2.3 LakeHancock LakeOklawaha LakeTrafford
bird   -1.010139951  0.79815307   0.4371079   -1.1341805   -0.1653345
fish    1.421972446  0.06791368  -0.1381584   -0.5838297   -1.4023249
invert  1.590996439 -1.26834736  -1.9186708    0.3293522   -0.2465030
other  -0.008759315 -0.22266909   0.6284167   -0.5577720    0.1554377
rep    -1.994069618  0.62494970   0.9913046    1.9464300    1.6587247
        Gendermale
bird   -0.21652470
fish    0.38990394
invert -0.07305896
other   0.13733445
rep    -0.23765473

$se
       (Intercept)  Size>2.3 LakeHancock LakeOklawaha LakeTrafford Gendermale
bird     0.6341143 0.5175073   0.6641385    0.9779813    0.6904946  0.5470773
fish     0.3414324 0.2751441   0.3785715    0.4318609    0.4011886  0.2832495
invert   0.3647887 0.3344444   0.5445932    0.4602586    0.4124692  0.3250301
other    0.4683419 0.3682044   0.5056119    0.6612684    0.5080596  0.3785303
rep      0.8662910 0.5046932   0.9558127    0.9110171    0.8888003  0.5370530

$pvalues
        (Intercept)     Size>2.3  LakeHancock LakeOklawaha LakeTrafford
bird   1.111616e-01 0.1229999826 0.5104367548   0.24616449 0.8107616565
fish   3.117272e-05 0.8050401816 0.7151511746   0.17640961 0.0004733063
invert 1.292212e-05 0.0001491976 0.0004264876   0.47425023 0.5500883594
other  9.850782e-01 0.5453497001 0.2139107287   0.39895553 0.7596474409
rep    2.134378e-02 0.2156136050 0.2996739996   0.03263493 0.0620062215
       Gendermale
bird    0.6922640
fish    0.1686549
invert  0.8221536
other   0.7167470
rep     0.6581156

$p_rel
        Size>2.3 LakeHancock LakeOklawaha LakeTrafford Gendermale
[1,] 0.001476994   0.0018376   0.02827814  0.002265663  0.6963208

$xlim
[1] 18.20946 99.45169

$ylim
[1] 17.43906 69.89633

EffectStars documentation built on Oct. 30, 2019, 9:39 a.m.