[R] Longitudinal Factor Analysis
ilai
keren at math.montana.edu
Sun Feb 12 19:18:59 CET 2012
?factanal
There is also package sem (structural equations model) by John Fox.
I'm sure there are more (maybe more fitting your situation) but these
two came to mind first...
Cheers
On Sun, Feb 12, 2012 at 6:51 AM, Gregory Gilbert
<g.eastham.gilbert at gmail.com> wrote:
> I have a data set in the format below. I would like to perform a factor
> analysis on BM1-BM20 as they are 20 biomechanical measurements of the trial
> (hitting a baseball). However, my observations are not independent and, I
> assume, I have to account for this. I have consulted the R literature via
> RSeek and Google (and I have consulted some very knowledgeable colleagues)
> and cannot find any method of doing this in R. Is someone aware of a method
> of reducing the 20 biomechanical measurements?
>
> Thank you for your help.
>
> Greg
>
> ID PitchType Location SwingNumber BM1...BM20 Hit
> Velocity
> 1 Fastball 1 1 xx ... xx 1
> 62
> 1 Fastball 1 2 xx ... xx 1
> 68
> 1 Fastball 1 3 xx ... xx 0
> 1 Fastball 1 4 xx ... xx 0
> 1 Fastball 1 5 xx ... xx 1
> 71
> 1 Fastball 2 1 xx ... xx 0
> 1 Fastball 2 2 xx ... xx 1
> 61
> 1 Fastball 2 3 xx ... xx 1
> 64
> 1 Fastball 2 4 xx ... xx 1
> 59
> 1 Fastball 2 5 xx ... xx 0
> 1 Fastball 2 6 xx ... xx 0
> 1 Fastball 2 7 xx ... xx 0
> 1 Fastball 2 8 xx ... xx 0
> 1 Fastball 3 1 xx ... xx 1
> 78
> 1 Fastball 3 2 xx ... xx 0
> 1 Fastball 3 3 xx ... xx 1
> 74
> 1 Fastball 4 1 xx ... xx 0
> 1 Fastball 4 2 xx ... xx 1
> 69
> 1 Fastball 4 3 xx ... xx 1
> 72
> 1 Fastball 4 4 xx ... xx 1
> 65
> 1 Fastball 4 5 xx ... xx 0
> 1 Fastball 4 6 xx ... xx 0
> 1 Fastball 4 7 xx ... xx 0
> 1 Fastball 4 8 xx ... xx 1
> 74
> 1 Fastball 4 9 xx ... xx 1
> 78
> 1 Fastball 4 10 xx ... xx 1
> 76
> 1 Fastball 5 1 xx ... xx 0
> 1 Fastball 5 2 xx ... xx 1
> 53
> 1 Fastball 5 3 xx ... xx 0
> 1 Fastball 5 4 xx ... xx 1
> 51
> 1 Fastball 5 5 xx ... xx 0
> 1 Fastball 5 6 xx ... xx 1
> 55
> .
> .
> .
> 40 Fastball 5 1 xx ... xx 0
> 40 Fastball 5 2 xx ... xx 0
> 40 Fastball 5 3 xx ... xx 1
> 60
> 40 Fastball 5 4 xx ... xx 0
> 40 Fastball 5 5 xx ... xx 0
>
>
>
>
>
> --
> Gregory E. Gilbert, EdD, MSPH, PStat®
> ASA Accredited Professional Statistician™
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list