Wednesday, April 25, 2012
Same rules and policies apply to this "exam" as apply to ordinary assignments. Part 3 of the final will be assigned on the last day of class and will be due on the day of the scheduled final exam.
The file elfin.csv contains the data for this exercise. This is a comma-delimited text file in which the variable names appear in the first row. The data are analyzed in Albanese et al. (2008).
According to Albanese et al. (2008), p. 603, "the frosted elfin (Callophrys irus) is a localized and declining butterfly found in xeric open habitats maintained by disturbance." They examined four study sites in southeastern Massachusetts to assess whether females preferentially deposited eggs on host plants within specific microhabitats. They recorded the locations of wild indigo plants on which female frosted elfins were observed depositing an egg. A random sample of unoccupied wild indigo plants was obtained to compare to the larvae-occupied group. They then measured seven vegetative and other environmental variables at both groups of wild indigo plants. The recorded variables are described in the table below.
Variable | Description |
TotalCanopy | The woody plant canopy cover over the center of the wild indigo plant. The average of four spherical densitometer readings measured at breast height (1.5 m) in each of the four cardinal directions |
WildIndigoSize | The maximum foliar width (cm) of the wild indigo plant multiplied by the maximum height (cm) of the wild indigo plant |
NearestWildIndigo | The linear distance (cm) from the edge of the wild indigo plant to the edge of the nearest neighboring wild indigo plant |
DistanceNearestTree | The linear distance (cm) from the nearest edge of the wild indigo plant to the nearest edge of a woody plant >2.5 m in height |
DirectionTree | The direction measured in degrees with a compass of the main stem of the nearest woody plant >2.5 m in height |
Slope | The steepest slope angle measured in degrees with an optical clinometer from the center of the wild indigo plant |
SlopeAspect | The direction of the steepest slope angle measured in degrees with a compass from the center of the wild indigo plant. This variable is missing for about 25% of the observations. |
The variable Occupied_Unoccupied in the data set is a binary variable that indicates whether an indigo plant harbored an egg (Occupied_Unoccupied = 1) or did not (Occupied_Unoccupied = 0).
The number of knots used in the smoothing spline cannot exceed the number of unique values of a variable. The default value for knots is k = 10. You will need to reduce this for a couple of the variables in order to be able to estimate a smooth for that variable.
Jack Weiss Phone: (919) 962-5930 E-Mail: jack_weiss@unc.edu Address: Curriculum in Ecology and the Environment, Box 3275, University of North Carolina, Chapel Hill, 27599 Copyright © 2012 Last Revised--April 15, 2012 URL: https://sakai.unc.edu/access/content/group/2842013b-58f5-4453-aa8d-3e01bacbfc3d/public/Ecol562_Spring2012/docs/assignments/finalpart2.htm |