instruction
stringlengths
9
38.7k
Possible Duplicate: Kriging on log transformed rainfall data I am beginner in R.I had found in literature that prior to perfoming kriging on the data the distribution has to be investigated to check if it is gaussian. So, inorder to check if the data follows gaussian i plotted the quantile-quantile plot of rainfall ...
Disclaimer: I'm not a statistician but a software engineer. Most of my knowledge in statistics comes from self-education, thus I still have many gaps in understanding concepts that may seem trivial for other people here. So I would be very thankful if answers included less specific terms and more explanation. Imagine t...
I am carrying a linear regression on some data. One of my variables is a factor (categorical). Using regression with an intercept leads to difficult interpretation, since one of the factor levels is taken as the intercept, and the remaining levels are given relative to that. Removing the intercept give me an effect of ...
I'm trying to create AR-model on wheather data and I wondered is there a method or algorithm which can find the optimal order for an AR-model? I'm using Matlab for my data-analysis, is there a function which can do this? Thank you
I am developing an application that will feed itself from users, all data will come from users crowdsourcing it with GPS positions. Said data must be pretty accurate or else my application will not work, not at all. I've setup a trust index subsystem where each point of data has as a trust index, and said index is bump...
I have an estimator $t$, whose variance depends on the dimension of my sample $x_{1:n}$: $$ \text{Var}(t(x_{1:n})) = f(n). $$ Suppose that the form of $f(n)$ is known. I would like to determine what is the optimal sample size $n$, given that every sample has a cost $c$. I was considering: a) To minimize a loss functio...
What does the ridge parameter change in a Logistic Regression classifier as for example implemented in Weka Logistic classifier "Parameter -R ridge". The paper describing the underlying theory: Ridge Estimators in Logistic Regression. Any help is much appreciated!
I am currently carrying out an investigation to find if certain factors such as playing home or away or position of a footballer affects overall pass completion using logistic regression. I am using R to compute my data. In my current section in which I am trying to analyse uses the data of every player to convey a gen...
I am currently working with a data set that contains about 26 IVs of almost all sorts of scale of measurement (binary, nominal, ordinal and interval scale variables). There are strong reasons to suspect that some variables are probably highly correlated, while some may not be related to any other IVs to a great extent....
A Poisson variable $Y_i$ is believed to depend on a covariate $x_i$ and it is propsed that log-linear model with a systematic component $a + bx_i$ is appropriate. In an experiment the following values were observed: values not important to question Write down the log-likelihood function for the proposed log-linear mod...
This isn't as easy to Google as some other things as, to be clear, I'm not talking about logistic regression in the sense of using regression to predict categorical variables. I'm talking about fitting a logistic growth curve to given data points. To be specific, $x$ is a given year from 1958 to 2012 and $y$ is the est...
I am trying to learn statistics because I find that it is so prevalent that it prohibits me from learning some things if I don't understand it properly. I am having trouble understanding this notion of a sampling distribution of the sample means. I can't understand the way some books and sites have explained it. I thin...
I have a two by two design. Ideally I would run the whole thing within-subjects (all participants get all conditions) but the procedure is too long. I could run one factor between-subjects (each participants gets one condition) and one factor within-subjects(each participant gets both conditions), but then I have more...
I have been able to successfully apply BRR estimated weights to rq() using the survey and quantreg packages in R. The model comes out fine, I am able to obtain the $\theta$ and SEs, but I also want the $p$-values. Unlike with rq() where one is able get the $t$ and $p$-value etc, this approach does not provided the $p$-...
Having a systematic 'error' (due to a 3 leveled external/experimental factor) influencing the variable I want to predict with my model. How do I best find a sound model that represents the underlying relation of interest, not fitting these 'errors'?
I'm trying to look for difference in timing (ie. earlier/later) in a variable measured at regular intervals between two groups. This seems like a simple experimental design, and working in R, I'm able to visualize the data in a way that makes sense to me, but somehow I'm getting confused when it comes to testing for s...
I have a collection of data points, which are counts as a function of length. Each data point is the result of many trials and has an error bar. The function Counts(length) is unknown. In the end the measurement that I need to quote is the length $X_m$ at which counts are a maximum (so in this case $X_m=0.9m$). Since...
Assume that we know the model of physical experience (for example - the pendulum is moving forward - then the position $s = vt + b\sin(t)$, where $t$ is time and $v$ and $b$ do not matter). We have measured some points. We can predict (forecast) next points, but how to measure the confidence interval of predicted ones...
I have a problem, where I need to learn a classifier (such as SVM) such that all the learned weights to be non-negative due a constraint on the classifier function. I found out that "SVM Struct" is able to do as mentioned in the comments inside some of their source codes. But, I'm still unable to find any reference (p...
I was reading this wikipedia article. The article is about equicontinuity. And my first thought was the regression line. THis question is to more help me understand and to check my understanding. Please note, I am not very knowledgeable; however, I want to be. So is the question in the title correct? If not, pleas...
I have two independent sets of gene expression data (biological replicates) that were generated at the same time. Each gene is sampled dozens of times on the machine (technical replicates). Data are filtered for transcripts having expression values above background (p-values less that 0.05). I then export everything fo...
We had an exercise in statistics class where we did a small ANOVA analysis. We were comparing how the two levels of a factor influenced the response under different conditions (combinations of other factors). My analysis ended up as a tree where a leaf corresponded to each condition and I could see were/how my factor ...
In this paper titled "CHOOSING AMONG GENERALIZED LINEAR MODELS APPLIED TO MEDICAL DATA" the authors write: In a generalized linear model, the mean is transformed, by the link function, instead of transforming the response itself. The two methods of transformation can lead to quite different results; for example, ...
I'm doing OLS estimation with an independent variable lagged as t-1, t-2, t-3, and t-4 (four beta coefficients). I would like to have the sum of these coefficients for interpreting the net impact of these variables on the endogenous one (for example the net influence of the US's GDP growth lagged in t-1, t-2, t-3, and ...
If I have a random walk without drift the differences form a white noise process. But what happens if I incorporate a drift $d$? Does this still hold true? I'm not sure because with the drift term d: $$ y_{t} = d + y_{t-1} + \epsilon_{t} $$ $$ y_{t} - y_{t-1} = d + \epsilon_{t} $$ The right hand side of equation 2 can...
HI This is first time I was reading about HMM, however I have read so many articles on web, but two things where I am confused are: How to decide number of Hidden States (although HMM says we don't need to know, we just have to make a guess, even for making guess what should be the best criteria) Once define hidden st...
In the seminal paper "Rao-Blackwellised Particle Filtering for Dynamic Bayesian Networks" by A. Doucet et. al. a sequential monte carlo filter (particle filter) is proposed, which makes use of a linear substructure $x^L_k$ in a markov process $x_k = (x^L_k, x^N_k)$. By marginalization of this linear structure, the filt...
Both my variables for correlation (Spearmans given small n of 17) relate to time (seconds for x, and minutes and secs for y). Should I standardize the units before entering into analysis. I get different answers if I try both ways, which is correct?
I am experiencing a strange problem with varying the test set size. This is mildly confusing to explain, but I'll do my best. I'm using octave to train an SVM on timeseries-like data and it's generally yielding good results. However, occasionally when we've introduced "bad" features, the SVM will "give up" almost insta...
If I have a sample $(X_i,Y_i)_{i=1}^n$ I can estimate the joint CDF by: $$F_{X,Y}(x,y) = \frac{1}{n}\sum_{i=1}^nI[X_i\leq x,Y_i \leq y]$$ Assume now I observe only $(X_i)_{i=1}^n$, but I know that $Y\sim U[0,1]$. How does one estimate the bivariate CDF in this case? I would be thankfull for any reference or suggestion....
I am not very familiar with filters. The Hodrick-Prescott filter as one can find it e.g. in wikipedia is two-sided. I also found an R implementation for this in the R package mFilter. There the filter is given as: find $(\tau_t)_{t=1}^T$ such that $$ \left(\sum_{t=1}^T (y_t - \tau_t)^2 + \lambda \sum_{t=2}^{T-1} (\tau_...
First of all, I would just like to point out I have next to nothing knowledge about data representation, so I would be more then thankful if someone could answer this question on as basic level as it could be. I have three different data sets which I need to plot on the very same graph. The first data set is calculated...
Let's say I have a set of data which are lognormal-distributed and I want to create boxplots. The part of the values which is symbolized by the box may lie somewhere around 1. In that case, the inter quartile range will also be single digit. With the lower values lying somewhere below 0.1, even the most extreme values ...
I am reading through Woolridge's Introductory book on Econometrics (I have no past exposure to it) and periodically get stuck. Here are two questions: 1) If we look at the expected value $E(YX|X)$ where Y and X are random variables, then is this saying since we condition on X, $E(YX|X) = XE(Y|X)$ as X is now a constant...
Ok I am guessing this is a trivial question however having pondered it for a few days the only thing I have become clear on is my lack of statistical prowess. Yesterday I asked a question on fitting linear regression to a dataset piecewise and this was successfully answered. Now I would like to compare these fits to a ...
As I understand it, selecting a prior provides something of a starting point for your analysis. From there, the distribution is shaped by the observed data. Obviously, the more data you observe, the more discrepancy is possible between the prior and posterior distributions (especially if the selected prior is inappro...
Edit: While I do appreciate Peter Flom's suggestions and the subsequent discussion (and upvoted his answer), I am opening a bounty to solicit an answer which offers a specific, formal statistical approach to handling these inconsistencies while minimizing the loss of data. I strongly suspect this issue has inspired sta...
I have a non-linear reglationship and I want to find the best way to determine the value for the exponent $\gamma$ in the following regression: $y = \beta x ^ \gamma$ I would preferably like to do this in R.
One interesting formulation of the ordinary least squares model coefficient is as a weighted average slope where the weights are given by the squared differences between the $X$ values. $$ \begin{array}{c} \hat{\beta} = \frac{\sum_{i \ne j} w_{ij} \frac{Y_i - Y_j}{X_i - X_j}}{\sum_{i \ne j }w_{ij}} \\ w_{ij} = (X_i - X...
I have data in the form of three digit binary numbers (i.e. 100, 101, etc.) scored for each individual in my samples taken from two populations I wish to compare. The three numbers represent independent states but I'm interested in comparing the occurrence of particular patterns (e.g. does 110 occur more in one populat...
Let's say I've gotten a HMM that describes user search strings for my e-commerce website. Let's also say that I've just received a search string from a customer that doesn't have any search results. Does it make sense to ask "Based upon the HMM, what is the nearest string to this that has some likelihood above X?" Simi...
I am trying to calculate the log-likelihood of some time series data given parameter sets estimated in BUGS. I can not figure out how to handle some missing values at random points in time. For the complete data situation, such as $Y=(0.1,0.3,0.5,0.4,0.2,0.1)$, (real data is much longer) I have fitted a time series mo...
I have fitted the following linear mixed model based on the results of an economic game: lmer(TotalScore~perOOgivenP+Game+(1|Subject),REML=T,data=mdl1table)->m1 TotalScore is a integer. perOOgivenP is a proportion between 0 and 1 (most of which are 0). Game is numeric and tells us if it is the 1st or 2nd game played by...
I have data from a load test of an automated system with several thousand data points that cover roughly 1 week of operation. I need to compare several algorithms for this system to see which is faster, if any (the metric used is the response time of the algorithm in milliseconds). Since it's technically impossible to ...
I am running a 2x2 mixed method ANOVA (with one between-group factor and one within-group factor - time 1 and time 2). I want to check whether the assumption of normality of residuals is met. When I run the ANOVA in SPSS I get two sets of residuals if I save the unstandardised residuals - one for time 1 and one for tim...
I have two datasets whose densities look clearly different. However, when I use the KLdiv function, it gives me a value of 0 and I don't understand why. Any suggestions on where I am going wrong? Datasets are at the end of this post. I did something like this: library(flexmix) KLdiv(cbind(density(A)$y, density(D)$y)) ...
I have a question about measuring a confidence interval for a binomial success rate using from a "small" universe. I should say that I don't think that the underlying distribution is binomial for reasons I will explain below. We rate success and failure of projects. Projects can either succeed or failure. Every year w...
What's another word for "tails" when referring to the narrow ends of distributions? Or is there another word for distribution tails? It seems like I heard something else used before (e.g., x & y axes, abcissa & ordinate, or horizontal & vertical axes)
In R's survival::coxph function, can I mix a covariate representing proportions (in the range 0.0-0.5) with an integer covariate (in the range 1-15), or should I transform the first one also to integers (0-50)?
I need to analyze data regarding an item based on a Likert scale. Field data was arranged in Excel using tables that show the frequency of answers among respondents. What is the best approach to enter data in the statistical software in order to analyze it? An example of what I have in Excel is attached. I have a lis...
I have two groups with small number of n (less than 10) where some observations are replicates for each other, some are paired difference observations, and some are completely independent. For example: Group I Group II A <--paired--> B C (unpaired) D <--paired--> E F <-| replicate of D Is there any known way to...
I have a problem trying to properly phrase my results. I utilized: $$D =\frac{(\text{M}_{2e} –\text{M}_{2c}) – (\text{M}_{1e}-\text{M}_{1c})}{\text{SD}_{1\text{pooled}}}$$ for pooled SD I used: $$\text{SD}_{1\text{pooled}} = \sqrt{\left((n_1-1)s_1^2 + (n_2-1)s_2^2\right)\big /(n_1+n_2-2)}$$ My results for my manipulati...
Are Pandas, Statsmodels and Scikit-learn different implementations of machine learning/statistical operations, or are these complementary to one another? Which of these has the most comprehensive functionality? Which one is actively developed and/or supported? I have to implement logistic regression. Any suggestions a...
I wanted to ask a question inspired by an excellent answer to the query about the intuition for the beta distribution. I wanted to get a better understanding of the derivation for the prior distribution for the batting average. It looks like David is backing out the parameters from the mean and the range. Under the ass...
I am looking for a numerical value that expresses how representative a (non-random in this case) sample from a population is regarding the distribution of a certain attribute. Take for example, the age distribution in a country and in its elected body of representatives. I'll want to compare this value across many dim...
I fit a lognormal model on some data points using both frequentist and Bayesian (using a non-informative prior) approaches. However, I got different results. Here are my codes and outputs: Frequentist: > data1 = c(0.32618457, 0.29166954, 0.27427996, 0.23844847, 0.25148180) > n=length(data1) > > lln1 = function(par){ i...
Is there a way to test linear separability of a two-class dataset in high dimensions? My feature vectors are 40-long. I know I can always run logistic regression experiments and determine hitrate vs false alarm rate to conclude whether the two classes are linearly separable or not but it would be good to know if there ...
I am not a math wizard, so please keep your response simple enough. I need to complete a statistics screening exam for a methods course later on today, and I am hung up on one topic that came up during the practice test. The data set I got was in reference to the number of homicides that have occurred in a number of ci...
What assumptions must be fulfilled in quantile regression?
I often deal with reasonable sized amount of time series data, 50-200 million doubles with associated time stamps and would like to visualize them dynamically. Is there existing software to do this effectively? How about libraries and data formats? Zoom-cache is one example of library focusing on large time series. In ...
Consider the problem of sampling from $p(\mathbf{x}, \mathbf{y})$ using the Metropolis or Metropolis-Hastings (MH) algorithm. I can either propose samples for $p(\mathbf{x}, \mathbf{y})$ directly, or I could do a blocked version of that and alternately propose samples for $p(\mathbf{x} \mid \mathbf{y})$ and $p(\mathbf{...
I am trying to build a logistic regression model where I have a dependent variable $y$ and independent variables $x_1$, $x_2$... $x_n$. $y$ can take only two values - 0 or 1. My original modelling dataset has 100,000 observations - which I have divided into two samples - a training sample with 80,000 observations and a...
I tried to specify a partial proportional odds regression in STATA using the gologit2 command. However, gologit2 runs extraordinarily slow in my dataset (108k observations of 9 vars). For example, ologit PfSt age if bund == 1 runs in less than 1 sec, while gologit2 PfSt age if bund == 1, pl which is essentially the ...
I have a dataset containing information about a bunch of wireless devices. Specifically, the number of other wireless devices each device encounters. Based on other researcher's prior work in the same area, I have reason to believe my distribution may potentially be well fitted by the not so well known biPareto distr...
I need to automate time-series forecasting, and I don't know in advance the features of those series (seasonality, trend, noise, etc). My aim is not to get the best possible model for each series, but to avoid pretty bad models. In other words, to get small errors every time is not a problem, but to get big errors onc...
Possible Duplicate: PACF manual calculation I am trying to find a formula for how to calculate partial autocorrelation between variables. We know that aucorrealtion between variables at different lags are given by: $$ \hat\rho_h=\frac{\sum^T_{t=h+1}(y_t-\bar y)(y_{t-h}-\bar y)}{\sum^T_{t=1}(y_t-\bar y)^2} $$ I know...
Suppose I have $n=100$ observations of ordinal data and get threshold coefficients $b_1, \dots, b_3$ and probit slope $b_4$. I want to test the hypothesis $H_{0}: \frac{b_{3}}{b_{4}} = \frac{1}{2}$ vs. $H_a: \frac{b_{3}}{b_{4}} \neq \frac{1}{2}$. So I want to count the proportion of times we fail to reject the null hyp...
I want to know what is the best way to analyze a data set where my response variable is count data and my explanatory variables are continuous variables. All my variables are not normally distributed. Are GLMs a good option?
I often am in the situation of having data sets consisting of an independent variable, a dependent variable, and a factor with multiple levels - for instance, calibration curves for an instrument measured on different days. I would like to know whether the data are best described by a single fit line or by a different ...
I have a vector of sequences with presence (1) and absence (0), from were I have calculated the first order Markov Process. This is how the data looks like: dataset=c(NA,NA,0,0,0,0,1,0,1,1,0,1,1,NA,NA,NA,NA,NA,0, 1,1,1,1,1,1,0,NA,1,1,1,1,1,1,0,0,NA,NA,0,1,1, NA,NA,0,NA,0,0,0,1,1,1,0,1,1,1,1,0,1,NA,...
I need help calculateing the sample size for a study. I am using a group of students in a particular gradelevel. My study will be pretest-posttest type. I only have about 45 students in that grade, but my advisor said I have to perfrom a sample size. I will like to know the effects of Polya's four-step problem solving ...
I have a basic question, which hopefully you all can resolve for me. What is the best way to determine correlations between 3 or more variables? I have a dataset in which 5 continuous variables each correlate (Pearson, R ~= 0.7) with another continuous variable (which I'll call Z). I know I can use partial correlatio...
I performed a PCA on some data related to habitat (different types of vegetation cover, soil water etc.), but there were some variables that I did not include in the PCA because they were not strongly correlated with any of the other variables. I selected the first three principal components from the PCA whose eigenval...
I have two raters who agree on 93% on the cases (two options: yes or no). However, when calculating cohens kappa through crosstabs in spss I get really strange outcomes like -0.42 with a sig. of 0.677. How can such a high agreement in percentage result in such a strange kappa? I don´t get it.
I am conducting a food science test to replace eggs with other alternatives in baking applications. Independent variable: three different formulas (substitution percentages) Dependent variables: texture profile, moisture, and sensory evaluation In terms of procedure, I would like to make a separation, my study wil...
Can anyone help me understand the forward stagewise part in the LARS algorithm? I was reading the R code and could not figure out what is updateR and downdateR doing.
I am going to run a quantitative experiment but I need my participants to come over and do some tasks in front of me. since I cannot recruit more than 40 participant (economic issues) and at the same time I need several data, I am going to ask each participant to go through the same task with different inputs. For exam...
As far as I can understand, the Daniell kernel, is simply $K(j/M)=\frac{1}{2M+1}1(|j|\leq M)$. Namely, this is a two sided average. Why do people call this an untruncated kernel and differentiate it from a kernel of the form $K(j/M)=1(|j|\leq M$) when the only thing different is the scaling factor?
Going through the Wiki article on the Phi coefficient, I've noticed that for paired binary data "a Pearson correlation coefficient estimated for two binary variables will return the phi coefficient". Upon running a quick simulation I found this to not be the case. However, it appears that the phi coefficient does appr...
I am having a little trouble coming up with a way of analyzing my data. If there is a short answer (i.e., "use logistic regression, dummy") you can just post that and I'll do some digging on my own - I just need to be pointed in the right direction... My independent variable is a count and my dependent variable is a ra...
I am testing equality of two binomial proportions 87/88 and 48/60. I use this online calculator and it noted that the Standard Normal approximation is not valid in this case. It seem quite strange to me. Is it some problem in testing equality of two binomial proportions if one of the proportions is very near to 100 %?...
I was recently debugging an R script and I found something very weird, the author defined their own p-value function pval <- function(x, y){ if (x+y<20) { # x + y is small, requires R.basic p1<- nChooseK(x+y,x) * 2^-(x+y+1); p2<- nChooseK(x+y,y) * 2^-(x+y+1); pvalue = max(p1, p2) } e...
Let $U_1, \ldots, U_n$ be $n$ i.i.d discrete uniform random variables on (0,1) and their order statistics be $U_{(1)}, \ldots, U_{(n)}$. Define $D_i=U_{(i)}-U_{(i-1)}$ for $i=1, \ldots, n$ with $U_0=0$. I am trying to figure out the joint distribution of $U_i$'s and their marginal distribution and possibly their first...
I have been using Latent Dirichlet Analysis for a while but I am a bit confounded as to it's practical ability to compare two documents. It is of course ideal for classification when you want to see in what category a certain document or word belongs, but in content comparison I am at my wits end. An inferred document ...
I am running logistic regression using glm in R on data, that has some indicator variables to it. Two of those have multiple levels and have been rewritten as (#levels-1) new dummy predictors respectively. As for variable selection, I use step (backward variable selection based on AIC), which is where I struggle: Even ...
I have two data sets: one has a continuous response variable whereas the other discrete. I will use a linear model for the continuous data and a logit and probit model for the discrete data. What I want to do is to conduct some exploratory data analysis for both data sets. I am wondering what plots can be used to asses...
I have the data from a split-plot design where A is my whole plot fixed factor with two levels and B is my subplot fixed factor with 2 levels and C is my random block factor. How do I analyse these data to get appropriate the DF (=1 for each fixed factor and interaction) using GLMM in the lme4 package in R? I tried res...
I got this assignment from Generalized Linear Model class. At first glace it looked like it is an easy task, but there are a lot of subtle (at least in my opinion) things, which I would like to clarify with somebody. So here is the problem: Assume that we are interested in random variable $Y=e^Z$. Variable $Z$ is obtai...
I am using the R package relaimpo (Grömping, 2006) to analyze the relative importance of 16 regressors on one dependent variable (N=7000). The results show that regressors vary drastically from each other in explained variance, varying between 18.2% and 0.8%. That is, after controlling for each regressor some regressor...
I've been working on on a method for binary classification of DNA sequences. In more detail, here is what the method does. Given a family of DNA sequences, for example DNA sequence motifs, I try to predict whether other sequences belong to this family, by measuring their similarity to the sequences in the family. My me...
The question is in the title. I know that EM algorithm could do maximum likelihood estimation for models that have latent variables. I would like to know can we get the (estimated) value of these latent variables once the algorithm is finished ? I know the question is vague and it depends on problems so I try to descr...
Consider an infinite random geometric graph in which the node locations follow a Poisson point process with density $\rho$ and edges are placed between the nodes that are closer than $d$. Therefore, the length of the edges follow the following PDF: $$ f(l)= \begin{cases} \frac{2 l}{d^2} \;\quad l \le d \\ 0 \qquad\; l ...
Can anyone provide a reference for the Continuous Space Hill Climbing Algorithm pseudocode in the Wikipedia article on Hill Climbing? The Russell and Norvig text is cited, but they only provide the discrete case. I'm wondering where this particular version of the continuous case is first described. http://en.wikipedia....
In an AR model the coefficients on the lags can be solved for using least squares. How is the MA part of ARMA solved for? Since the MA part is a sum of white noise terms I imagine that it is not solved using least squares.
I'd like to generate a series that follows an IMA(1,1) process, where $θ$ is the moving average parameter. I generated the series based on different representations and I got different results, I'm wondering which one is correct? $$ \begin{aligned} d_1 &=μ+e_1 \\ d_t &=d_{t−1}−θ\cdot e_{t−1}+e_t \\ \\ \text{or} \\ ...
I am trying to produce a model for which I have a response variable which is a proportion between 0 and 1, this includes quite a few 0s and 1s but also many values in between. I am thinking about attempting a beta regression. The package I have found for R (betareg) only allows values in between 0 and 1 but not includ...
If I randomize time points $$T=\{266.14646, 107.28526, 108.89631, 593.03129,\\ 118.10284, 425.60470, 39.02817, 291.90210\}$$ into two groups of equal size, then what is the probability that $T_i$ (the $i$-th time point) will be the 3rd order statistic of the second group? Given that $T_i$ follows an exponential with r...
I have to analyze the data from a study in which two groups of subjects (total sample $n = 30$) were tested on 4 cognitive tasks, all related to executive functions. For each task, I have accuracy score and reaction times. So, the analysis will be made on $4\times 2 = 8$ dependent variables. In such situation, is it a ...
I've got a semi-parametric model that I'm fitting with GAM's (mgcv in R). It is of the form $$y = \theta + X'\beta + f(Z) + \text{Interactions!} + \epsilon$$ I've got 289 observations. Many of the interactions that I'd like to specify are tensor (or Kronecker) product interactions. Unpenalized, each interaction take...
Can anyone recommend a paper which provides a nice introduction or summary of group sequential design.