# nested

1. ### Nested within-subjects repeated measures stats?

Hi people, I am having some confusion over how to carry out the stats for my experiment. In the experiment, there is two condition of teaching method "prof-generated" and "student-generated" and the DV is students' quiz scores over 4 quizzes. As I carried out the experiment in a real...
2. ### How to run an unbalanced Permanova in Primer

Dear all, I have data on disease occurrences in coral reefs. I have the following factors: Exposure (fixed, two levels: outer and inner) and Site (random and nested in Exposure with three levels for outer and two levels for inner). At each site, I have four transects except at one of the...
3. ### Mixed model analysis

I would greatly appreciate any help constructing a model to analyze the variation in strontium-to-carbon ratios in 204 fish otoliths (1 otolith per fish). I believe lmer is an appropriate R package, but am having difficulty implementing the model. The model includes terms to account for the...
4. ### Please help me! I am stuck choosing which model to use! :(

Hello! I have been reading so much about stats that I am a bit confused now.. I have samples from an experiment in which I have counted cells. So I took 2 pictures of each kidney. I did this for two kidneys (per individual). And then each individual belongs to a group (infection). My hypothesis...
5. ### Multilevel model with crossed random effects - does this model make sense?

I have a complex design and haven't found similar examples online. I'd really appreciate any views on the way I modelled it. At a first stage, 19 editors improved the wording of 41 sentences - all editors saw all 41 sentences. At a subsequent stage, 3 judges assessed the quality of the edited...
6. ### Alternative for a multi-level analysis

Hi all, For my criminology thesis I am analysing police interviews and would like to research the effect (the presence of) an attorney has on whether or not a suspect gives a statement. The statement will be a dichotomous variable (0 = remaining silent 1 = giving a statement). My data is nested...
7. ### SAS code

Hello, I am trying to replicate this SAS code in STATA. I understand most of the commands, but I would like to know what org(upc) means. Is it like an indicator variable? Also, is the command assigning random effects for each listed variable: upc org(upc) store org Thanks in advance...
8. ### Nested vs non-nested model?

Hi all, I am running a confirmatory factor analysis and trying to work out if my two models are nested or not - this will be important for me to decide how I compare the models (e.g. using just the AIC and CFI statistics to compare the two models, or whether I can also use the chi-square...
9. ### Nested ANOVA evaluation in R

hi, I have an experiment to check factors that influence the results of a measurement which is done like this: Several pieces of substrate are selected (a kind of paper), on each substrate a left and a right side area is defined and in each area five measurement points going from top...
10. ### Loop through values - only first element is used

Hi everybody, i feel this is very baisc but i need a hand. I want to use the strsplitfunction on characters in a data.frame but under certain conditions! If the condition is met --> split character and take the first two stringparts If the condition is not met --> split the character and take...
11. ### mixed model anova with nested design

Hi, I need help in syntax for my current study. I am not familier that much with spss especially with syntax. Ok, this is my case. I am doing Generalizability Theory analysis using soft EduG. And one of the tabel produced is anova (attached a picture of it) It is a result of student...
12. ### Not sure about what test....

Hi everybody, I need to analyze possible differences in the invertebrates populations living in 3 different environmental treatments (3 plus 3 replica). A subsample containing invertebrates species is taken every week for a total of 10 sampling events. Therefore 10 invertebrates populations...
13. ### Which test to be used?

Hi everybody, I need to analyze possible differences in the invertebrates populations living in 3 different environmental treatments (3 plus 3 replica). A subsample containing invertebrates species is taken every week for a total of 10 sampling events. Therefore 10 invertebrates populations for...
14. ### Can an explanatory variable be both a random and fixed effect simultaneously?

Hello, and thank you for reading. I am trying to test for what environmental variables (3 continuous distance variables e.g. distance from nearest village) influence 1) species richness at the site level (continuous variable) and 2) community composition at the site level (coordinates of...
15. ### Nested continuous Regression conditioned on dummy

Hi, Does anyone know what model to use for the following issue: I would like to estimate transaction size (continuous dependent variable) using various predictors. But I would like to condition the regression on whether the buyer and seller are located in the same state (dummy variable...
16. ### Syntax for a Non-Parametric (Friedman/Rpt. Measures), Nested ANOVA?

Hi, all, how sweet it is to discover a stats forum w/ helpful users like yourselves. :D Here's my first (but certainly not last) question for you all: I have a 2X2 IV/repeated measures DV design w/ nested small groups (random effect variable; see Anderson & Ager, 1978). My measures are...
17. ### Resorting Nested Column Data Into Rows

Thank you for glancing at this post! My problem is this: I have my data currently sorted in three columns (Participant, Time, Obs). Each participant has 5 observations (in obs column) for two different time points (1 & 2; each participant has 10 total observations). I need to resort the data...
18. ### Error message in PROC MDC (Nested Logit Model)

Hi everyone, I've been trying to run PROC MDC in SAS for several days and always get the same error message, please help me! Basically, my goal is to run a nested logit model for a dependent variable called "pleasantness", with, for the moment, three explanatory dummy variables (and maybe more...
19. ### Nested vs. 2-Way ANOVAs

Hi! I'm conducting analyses on my MSc data set, and am a little confused about how to think about my data in terms of statistical tests. I have a series of data consisting of multiple dependent variables from 2 different sites. [Most of these dependent variables, though collected at each...
20. ### hierarchical random effects structure in GLIMMIX

Hi All, I have a question about complicated random effects structures. Please bear with me. I am trying to construct a model in GLIMMIX that has a spatially hierarchical (i.e. nested), repeated measures random effects structure. The problem is how to correctly account for a random observer...