instruction
stringlengths
9
38.7k
I'm making a study on STARIMA (Space-Time Autoregressive Integrated Moving Average) Time Series. And one problem I have is the parameter estimation since there is no software yet that has a STARIMA function, so far from what I have searched. Now, I want to compute it manually using estimation procedure. And I prefer Co...
I have real daily market data which I'm looking at to create a model for forecasting. The model that I created (below) used autoregressive terms within a linear regression. I was sharing this with a colleague and he said "autoregressive variables are correlated with the other variables in multiple linear setting which ...
I'm new to text mining and I'm not sure if could be applied here: I have labeled sentences but the words I work with are codes, so each word length ranges from 5 to 15 letters and there are only 4 different letters (A, B, C, D). Looks like this : Sentence1: AAABCD BAAAA ABCCBAA CCCCC...... AAAAAAABB CCCCCCCAAA (Positiv...
I made 100 comparisons by applying chi-square test (tajima relative rate test) and got 100 p values. Do I need P-value adjustment? If yes then which one correction will be suitable? I have explored internet and also on this forum but didnt get answer of this particular question.
I am developing a linear model with 13 variables, including the target variable (online purchase revenue for items). So, I first built model1 with regular variable and then build model2 after normalizing of the data. I have copied the coefficients for two models here : Model1(Without Normalized Data) Coefficients: ...
we have an experiment to excite a system with some energy, then measure the decay as a function of time. We are measuring data at 4 times $t$ to fit to an exponential model: $y = a \exp(-t/p) + c$, where we fit the parameters $a, p$, and $c$. I should probably mention that there is not one excitation and 4 measurements...
My apologies if this has been answered here. It's my first time here. I am a developer by trade. I am not really into this thing, but I was asked to do some data simulation using SPSS. But I am not sure what significance level to use. I was given a small data set of 24 cases. This is medical research so I assume I have...
Its been a while since I did any serious statistics. I have been reading about contingency tables recently and it seems like they may offer a solution to my problem. There are people on here that know more about statistics than what I can ever expect to know, so rather than trying to "discover" things by myself, (and w...
I have produced generalized additive models for deforestation. To account for spatial-autocorrelation, I have included latitude and longitude as a smoothed, interaction term (i.e. s(x,y)). I've based this on reading many papers where the authors say 'to account for spatial autocorrelation, coordinates of points were in...
When splitting attributes while constructing a decision tree, i can use information gain or information gain ratio to try and determine the best value to split the tree on. I'd use information gain when I have smaller numbers of distinct values (mostly nominal and ordinal values that are not continuous) I'd use inform...
Let $Y_i$ be the response and $X_i$ be the independent variables. Whenever I've seen a quantile regression specification they'll go: $Q_{\tau}(Y_i | X_i) = a(\tau) + b(\tau) X_i$ Or, alternatively: $Q_{Y_i}(\tau|X_i) = a(\tau) + b(\tau) X_i$ where $X_i$ is a vector of independent variable observations for cross-section...
I am wondering what is behind matlab 'Regularize' option for method gmdistribution.fit. If it is simply adding a 'little' value to diagonal elements of covariance matrix, so as to make covariance matrix inversible, is convergence of fit algorithm guaranteed? Is some more sophisticated method used here, like shrinkage c...
A question was recently posted to an listserve that I subscribe to asking (perhaps cynically?) when a Bayesian approach has been crucial to "getting the job done" in addressing questions in the field of ecology. I'm wondering, in general, about when a Bayesian approach has been essential to progress in a particular fi...
I'm analysing a study of 4 raters and 34 subjects. I'm looking at the inter rater reliability. For the ordinal results, I did a weighted kappa of Fleiss and for the other continuous results I calculated an ICC (2,1). My question is if the data has to follow a normal distribution to be able to use the Kappa of Fleiss an...
Sometimes I have a large number of latent variables in a Bayesian hierarchical model to which, but I am only interested in estimating projected transformations of those latent variables (for example, I will parameterize a binomial parameter as an inverse logit of a set of possibly-non-identifiable covariates, even thou...
I know I am asking a few questions and I apologize for that. However I shall try to read the solutions and know the loopholes in my theory. Here it is: If $u=x\cos \theta+y\sin\theta$ and $v=y \cos \theta-x\sin\theta$. The variables $u$ and $v$ are uncorrelated, then how may I prove that $$\tan 2\theta=\frac{2r_{xy}s_x...
I have the problem that in my binomial-glmm model with a nested random effects structure (30,000 rows located 30 groups nested in 25 groups) the diagnostic plots look okay (as far as I can tell), residuals do not show heavy patterns and some predictors are even significant. However, the $R^2$ is 0.055. My goal is not ...
Possible Duplicate: Machine learning self-learning book? I am a researcher on Machine Learning and I generally try to refer to Andrew Moore's Tutorials and Simon Haykin's Neural Networks. I am looking for a book which works in some detail with easy language and good exercises and recent concepts. My problem is I h...
I'm trying to work out the misclassification rate in a published study, where the results do not include this value. However, I have the sensitivity, specificity, positive predictive value and negative predictive value results. The results are: Sensitivity Specificity PPV NPV 69.9 99.3 ...
Consider the following (partial) regression results, in which the explainatory value of 5 independent variables are measured for 3 dependent variables. In this post, I'm referring to the models (1d), (2d) and (3d). For each model, the first column is the coefficient, the second the p-value: In my thesis, I defined sev...
I have a plot of a GAM which models deforestation severity. The explanatory variables are transformed, with log10, inverse, and square root. Is it meaningful to interpret a gradient like this: 'Deforestation severity increases as log10(Distance to forest edge) increases' or 'Deforestation severity increases as distanc...
Possible Duplicate: A resource on concepts underlying statistics, not the techniques used in applied stats I am interested in learning more about Statistics and when I ran a Google / Amazon search that brought up way too many options. I am hoping to get a recommendation of a statistic book that is beginner's oriente...
I'm heavily into role-playing systems, scripted a set of utilities in ruby for pen-and-paper games and I sort of understood statistics when I took it, but I could never for the life of me figure out the following: Given a varying-length series of independent 50/50 probabilities, i.e. 2, 3, 5 or 7 coin tosses, would the...
I am not sure if this is the correct place to ask this kind of question, I hope it is. I am studying this paper on an improvement of Elo rating system called Elo++. On page 4 the author states that he want minimize a function called total loss that is $$L=\sum_{i,j\in T}w_{i j}\left( \hat o_{i j}-o_{i j}\right)^2+\lamb...
Let $Y_{t} \sim N(0,\sigma_{Y_t}^2) $ (independent var), $X_{t}\sim N(0,\sigma_{X_t}^2)$ (dependent var) be time series variables. However, suppose we don't observe $Y_t$ and instead measure it with some error. That is, we have access to $\hat{Y}_t = Y_t - \nu_t$. Assume that the measurement error is of the form $\nu_t...
I used the prcomp() function to perform a PCA (principal component analysis) in R. However, there's a bug in that function such that the na.action parameter does not work. I asked for help on stackoverflow; two users there offered two different ways of dealing with NA values. However, the problem with both solutions is...
I have a dataset for classification (binary - 1/0) that has around 4000 samples that I use to train the model (I'm using an SVM, if that's relevant). To check whether everything is working fine, I cross validate 5 folds. But I'm noticing that the cross validation accuracy that I get is the exact same fraction of the 0 ...
Possible Duplicate: What are good basic statistics to use for ordinal data? I have gathered data from about 70 construction firms who are not currently using a specific software and I asked them why they have not implemented such a software based on 5 point Likert scale. The variables were, high cost, long time requ...
Long story short I have a collection of about 30 scripts that manipulate data sets and place them in a database. These scripts report their running times as well as any errors that occur to a separate database. I wrote another script that goes through this database daily and for each script determines if an error occ...
Hi I wanted to know if there are some good books on text mining and classification with some case studies?. If not some papers/journals accessible to public would do. If they illustrate their examples with R even better. I am not looking for step by step manual but something which illustrates the pros and cons of vari...
I want to measure a moderation effect between 3 continuous variable in an intervention study. I am using scores from self-report measures of masculinity, emotionality, and psychological distress. The idea is that emotionality will be manipulated via an experimental intervention designed to increase emotionality, and th...
For my problem I have a group of p participants and s subjects. I was suggested to calculate the Kappa Cohen Test on combinations of two for p and s, then calculate the mean and compare against the uniquely calculated value of Fleiss` kappa for the same set. My question is, whetheror not it is correct/safe to calculat...
I would like to create a topic distribution for a document. The current model I am trying to implement is: for each sentence in the document, I am getting a topic assignment with a score, e.g. "1st sentence is about Microsoft with a relevance score of 0.4". I repeat this for each sentence, and at the end I have relevan...
I was unable to figure out how to perform linear regression in R in for a repeated measure design. In a previous question (still unanswered) it was suggested to me to not use lm but rather to use mixed models. I used lm in the following way: lm.velocity_vs_Velocity_response <- lm(Velocity_response~Velocity*Subject, d...
What is the difference between data 'Normalization' and data 'Scaling'? Till now I thought both terms refers to same process but now I realize there is something more that I don't know/understand. Also if there is a difference between Normalization and Scaling, when should we use Normalization but not Scaling and vice ...
Suppose I have a process X1, for which I do not have a generator matrix, only a transition (probability) matrix P1 for some time interval T, e.g. T=100. Suppose I have another process X2, such that X2 is identical to X1 except that if X2 transitions to a state below a certain threshold, it is returned to one of the sta...
We have trained about 200 Linear Support Vector Machines (hand-coded in C#) belonging to our 200 categories and we use them in text categorization. Due to the shortness of the text in our training samples and other uncontrollable factors, very often every machine returns a negative number for (classifies as negative) a...
Suppose I have two data sets. The average of one data set is 5.5 secs and the standard deviation is 0.0435. The average of the other data set is 5.2 secs but the standard deviation is 0.5123. I know that something is wrong with the second data set because the standard deviation is too high. My question is how I should ...
I am trying to interpreting the output of nls(). I have read this post but I still don't understand how to choose the best fit. From my fits I have two outputs: > summary(m) Formula: y ~ I(a * x^b) Parameters: Estimate Std. Error t value Pr(>|t|) a 479.92903 62.96371 7.622 0.000618 *** b 0.27553 ...
My questions deals with GAMs in the mgcv R package. Due to a small sample size I want to determine the prediction error using leave-one-out cross-validation. Is this reasonable? Is there a package or code how I can do this? The errorest() function in the ipred package does not work. A simple test dataset is: library(mg...
I've got a bunch of data from two samples (control and treated), each containing several thousand values which are to undergo significance testing in R. Theoretically, the values should be continuous, but due to rounding done by measurement software they aren't and they have got ties. The distributions are unknown and ...
I am currently doing my fourth year thesis examining the moral stages of children/adolescents. The DV is the moral stage (categorical variable, stages 1, 2, 3, or 4) and the IVs are age group (I currently have 2, but may potentially have 3) and gender, so my design will be either a 2 x 2 or a 3 x 2. I have been told by...
Possible Duplicate: Simple algorithm for online outlier detection of a generic time series Observing the time series data I noticed there are some outstanding peaks (the picture below). I would like to automatically find out which on which consecutive days (x axis) these peaks appear and am thinking what would be th...
Could someone please explain me the answer of the question already given here: Combining randomForests in R, why are the err.rate, mse and rsq components NULL I do not understand the phrase "clip it to out-of-bag" from model$inbag.
I tried to use random forest to classify microarray data. Basing on research of L.Breiman and Tao Shi, I constructed a synthetic data base using bootstrap methods (Assuming it is a matrix with samples on row and genes on column, for each gene in each sample, values are selected with replacement in the gene column, desc...
I'd like to create a composite item from variables with the following scale: strongly disagree, disagree, neither agree or disagree, agree, strongly agree and don't know. I was going to code the scale as 1=strongly disagree, 5=strongly agree, and calculate the composite item with these values. However I don't know how...
So say I am testing the predictive value of a predictor towards a "DV" within a survey data-set, between two time-points. Say also that I have measurements of both variables at all time points and that I can see that the DV and the predictor correlate at baseline. If I use linear regression or pearson correlation to ev...
I am trying to make a prediction in a time series with window 512 and horizon 2. I want to know if it's worth using ARIMA, that seems to be hard to understand, instead of the simple Autoregressive model?
If I have a sample: set.seed(0) x <- rlnorm(500) Then I can use the fit.distr function to find the best fit among two candidate distributions, e.g. library(MASS) find.bestfit <- function(x){ logN <- fitdistr(x, "lognormal") gam <- fitdistr(x, "gamma") ans <- ifelse(AIC(logN) < AIC(gam), "logN", "gam") ret...
I have an engine that runs a game, and bots that perform strategies in it. I want to do different tests of versions of a single bot, to see how variations influence success. For instance, if I have Bot A1 and Bot A2, I might run the following trials: Trial 0 Bot A1 Bot B Bot C Bot D Trial 1 Bot A2 Bot B Bot C Bot ...
My working population is non normally distributed and from time to time I need to take a sample of it. Sometimes my sample exists of 100 units, at other times of 150 units. Of my sample I calculate the mean, $\mu$, and with bootstrapping I determine the SE, $\sigma_{\bar x}$. Since $\sigma_{\bar x} = \sigma /\sqrt{N}$...
Here's a Q-Q plot for my sample (notice the logarithmic Y axis); $n = 1000$: As pointed out by whuber, this indicates that the underlying distribution is left-skewed (the right tail is shorter). Using shapiro.test (on the log-transformed data) in R, I get a test statistic of $W = 0.9718$ and a p-value of $5.172\cdot10...
I want to know if this is a reasonable approach. I conducted the same experiment on two different species with small sample sizes (7-25 per species) in 4 years at 6 different sites. I measured damage to plants in two treatments. There is unequal sampling across years and sites. Species, site and year differ in mean d...
How to prove that the radial basis function $k(x, y) = \exp(-\frac{||x-y||^2)}{2\sigma^2})$ is a kernel? As far as I understand, in order to prove this we have to prove either of the following: For any set of vectors $x_1, x_2, ..., x_n$ matrix $K(x_1, x_2, ..., x_n)$ = $(k(x_i, x_j))_{n \times n}$ is positive semidef...
Say you have a longitudinal data set with 5 measurement points, which begins at 200-300 participants and declines to about 50. There is an intervention between time-point 2 and 3. There's 3 continuous IVs and 1 continuous DV measured at all timepoints. One group. The key interest is the predictive value of the IVs as f...
My research design is 2(Ear) x 3(Factor A) x 3(Factor B) with repeated measures on all factors. For 2 way-repeated ANOVA, I used laterality index (normal distribution, calculated from % of responses from both ears) as dependent variable (DV) while Factor A and B are independent variables (IV). I obtained significant ma...
I am doing a pre- and post-test intervention. I have two groups, each doing a different intervention. I will test the success of the interventions using three outcome measures. In another way to look at it, one group is the control group. One of the outcome measures is a check to make sure that the control group's tre...
A variable was categorized into $10$ equally spaced intervals from a continuous variable which was originally in proportion. Now, we have to use this variable in CATREG procedure in SPSS. If we choose the optimal scaling level to be 'ordinal', then quantification for the last seven categories are the same. That means t...
Possible Duplicate: Making sense of principal component analysis, eigenvectors & eigenvalues I am currently going through a PCA tutorial. However, I am a bit confused. For PCA, we calculate the covariance matrix and then find the eigen vectors and eigen values of the covariance matrix. These vectors are the principa...
Previously I asked this question to R-help (finance group) however, could not get a satisfactory reply (probably this is not directly related to R.) Here is my question: Is there any possible way to get 2 continuous distributions (defined on the real line) such that, both distributions have same 1% & 5% quantiles (or, ...
Lets say I have two time series a and b and I predict the next value and a prediction interval (say lower and upper 80%) of each of these two. I end up with something like that: a: [10, 20, 30] and b: [2, 7, 12] (as [lo80%, prediction, high80%]). As these time series are independent, I see I could just add 20 + 7 to ge...
To find association between peer's support (independent variable) and work satisfaction (dependent variable) I wish to apply chi-square test. Peer's support is categories in four groups according to the extent of support: 1=very less extent, 2=to some extent, 3=to great extent and 4=to very great extent. Work satisfact...
I want to decide the capacity $C$ of a table so that it has residual odds less than $2^{-p}$ to overflow for given $p\in[40\dots 120]$, assuming the number of entries follows a Poisson law with a given expectancy $E\in[10^3\dots 10^{12}]$. Ideally, I want the lowest integer C such that 1-CDF[PoissonDistribution[E],C] <...
A common rule of thumb in social science is to have at least $30$ observations for regression (without any complicated effects). Does someone know such rule of thumb for GAMs? Are $50$ observations enough for a simple additive model with two parametric terms and two smoothers?
I am new to Regression and R. I know that polynomial functions are used when a regression model does not fit data (underfitting), but I want to know which degree of polynomial should be used? I also want to know that if a regression model uses multiple variables (e.g., y ~ x1+x2+x3+x4) then do I need a polynomial funct...
I have a dataset relating two variables to a result, as shown in the image below. In the image Variable 1 is held constant, and plotted against different values of Variable 2, and the result is shown. I have several entries for Variable 1 (though I can have as many intervals as I like. What I'm trying to do is determi...
I have an experiment which is executed on hundreds of computers distributed all over the world that measures the occurences of certain events. The events each depend on one another so I can order them in increasing order and then calculate the time difference. The events should be exponentially distributed but when plo...
Given data points $x_i$ in $\mathbb{R}^d$ with function values $f_i$, one can estimate the function at a given $x$ by $\ \ \ \ \text{f}_{est}( x ) = \frac {\sum { w_i f_i }} {\sum { w_i }}$ with $w_i = k( |x - x_i| )$. Here $k$() is a kernel function, often Gaussian. See also Radial basis function. Consider this varia...
I have a question concerning the analysis of experimental data. Imagine the following situation (which I simplify to make the point clearer): I ask my participants to give a numerical answer to 3 questions, say, A, B, and C. So in total there are 3 data points per participant. Now, I can compute several "expected" ans...
Say, for example, that we have a logistic regression model which outputs the probability that a patient will develop a particular disease based on many covariates. We can get an idea of the magnitude and direction of the effect of each covariate in general by examining the coefficients of the model and considering the...
To fit a simple AR(5) model, I use SAS PROC AUTOREG. I called the option ARCHTEST=(QLM) which provides Engle’s Lagrange Multiplier Test for ARCH Disturbances and the Portmanteau Q Test. The statistics SAS provided for Engle’s Lagrange Multiplier Test were: Order LM p-value 1 0.018 0.893 2 0.079 ...
Can anyone give some advice on solving the following problem? $X$ is distributed as $N(\mu_1, \sigma_1^2)$; $Y \big| X > c$ is distributed as $N(\mu_2, \sigma_2^2)$; $Z \big|\min(X, Y) >c$ is distributed as $N(g(X,Y), \sigma_3^2)$. Here $\mu_1$, $\sigma_1$, $\mu_2$, $\sigma_2$, $\sigma_3$ are constants. How to find the...
This might sound dumb but if I have $d_i$, where $i=1 \dots n$ observations and I assume they are exponentially distributed, before I use the MLE, should I transform my data to follow an exponential distribution? The reason I ask is because I often see others who normalize their dataset prior to the MLE if they assume...
I'm reading "The Drunkard's Walk" now and cannot understand one story from it. Here it goes: Imagine that George Lucas makes a new Star Wars film and in one test market decides to perform a crazy experiment. He releases the identical film under two titles: "Star Wars: Episode A" and "Star Wars: Episode B". Each film ha...
I have a data set with ~ 7 million rows, of which ~ 100k are positives. I'm looking to shrink the data by keeping all the positives and then randomly sampling several hundred thousand negative examples to round out the data set. I'm uncertain what the guidelines are though. Are there any rules of thumb for what % nee...
Let's say I have a variable that perfectly predicts one of the classes in my dataset: set.seed(668130) dat <- iris dat$X <- sample(1:3, nrow(iris), replace=TRUE) dat$X <- ifelse(dat$Species=='setosa', 1, dat$X) > table(dat$X, dat$Species) setosa versicolor virginica 1 50 12 15 2 0 ...
I'm a fairly inexperienced statistician fighting a huge deadline and just need some peace of mind that I'm not making a massive error here. I'd be most grateful for pointers. I've been playing around with different model combinations using the lmer() function, and have managed to get the AIC scores down from over 10,0...
I'm a fairly inexperienced statistician fighting a huge deadline and just need some peace of mind that I'm not making a massive error here. I'd be most grateful for any pointers. I've been working on fitting an lmer() model that explores the spatial relationships between crime and socio-economic factors. The ICC demon...
I have an interesting modelling problem in which I am trying to forecast the occurrence of a type of weather event using an empirical model driven by measurements of a number of different physical quantities in different locations. There are a number of complications. First, the predictor measurements are not independe...
In text classification problems where the number of features >> number of documents, is it useful to perform feature selection with filters (e.g. Information Gain) when using Naive Bayes. However, what about SVM and Maximum Entropy classifiers ?
Possible Duplicate: Machine learning cookbook / reference card / cheatsheet? There are numerous machine-learning approaches out there. Also there are numerous ways how to optimize their parameters and numerous ways to preprocess your data beforehand. It seems to be a common practice to initially implement some off-t...
I have 100 pairwise comparisons where my results show that 33% of the pairwise comparison tests are non-significant. How can I draw draw a Hasse diagram to represent this? Are there any tips to follow when drawing a Hasse diagram?
Do you know of any techniques that allows one to avoid and get rid of multicolinearity in SVM input data? We all know that if multicolinearity exists, explanatory variables have a high degree of correlation between themselves which is problematic in all regression models (the data matrix is not invertible and so on). ...
I'm using open source data to analyze innovation in a business context for my thesis. I've got the questions from the survey in an Excel file and although there's only 13 questions there's over 600+ variables and it is confusing for a beginning SPSS user like me. I want to see if there's a relationship between "innovat...
Is there a Box-Cox like transformation for independent variables? That is, a transformation that optimizes the $x$ variable so that the y~f(x) will make a more reasonable fit for a linear model? If so, is there a function to perform this with R?
I'm doing statistical analysis on a psychology study I ran a short while ago, and I'm starting to think that I've designed myself into a corner. In the study, we measured participants' pointing responses after traveling in a virtual environment. There were three factors, each nested within another: Physical rotation: 2...
I am just learning R. I have developed a regression model with six predictor variables. While developing it, I found the relationships are not very linear. So, maybe because of this the predictions of my model are not exact. Here is Headers of my data set: 1.bouncerate(To be predicted) 2.avgServerResponseTime 3.avgServ...
There was a general election where I live yesterday and the television network started calling out winners long before all ballots were opened. They turned out right on all accounts, and I'm not really surprised they did. I know that statistics are absolutely viable. Still, I'm curious. Assuming: we have opened $i$ ou...
Discrimination parameters in two-parameter model from IRT are usually considered item parameters. But I've come to doubt it. Think about psychophysics; for example, detecting luminance. I don't think anyone would say that discrimination (i.e., slope) parameter applies to luminance itself. It comes from human percepti...
Possible Duplicate: Simple algorithm for online outlier detection of a generic time series I've got data on quantities sold and average price, by date, for a number of commodities and a number of outlets. Because of the provenance of the data, some of the observations are wrong. I'd like to be able to flag the pote...
When I read "Elements of Statistical Learning", I met some difficulty in calculating the Bayes decision boundary of Figure 2.5. In the package ElemStatLearn, it already calculated the probability at each point and used contours to draw the boundary. Can any one tell me how to calculate the probability? In a traditiona...
I would like to perform a robust correlation on a small sample (n<30). What is the best estimation method to use? I tried to get an overview over the plenty methods for robust statistics provided in R - I would be happy if anyone could give me some recommendations
Let's make the problem as simple as possible. Assume two related random variables, $X_1$ and $X_2$. On the basis of some data we estimate their true means $\mu_{X_1}$ and $\mu_{X_2}$ by sample means $\hat\mu_{X_1}$ and $\hat\mu_{X_2}$. These estimates are unbiased. But now let's sort our two random variables by their s...
I have four variables and would like to construct a VAR model I would then like to make a VAR forecast on one of the variables using my own data for the forecasts of the other three variables. Is there an R package or process from the model fit that allows me to do this?
When fitting some relations $y_j=f_j(x_1, \ldots, x_p)+\epsilon_j$ between a multivariate response $y=(y_1, ..., y_k)$ and covariates $x_i$, a common problem is to determine for which values of the covariates $x_i$ the responses $y_j$, or the model functions $f_j$, attains an optimum. This problem is classical in the l...
Let's say I have one experiment where I'm drawing 50 balls from a bag of 1000 without replacement. The bag contains 50 white balls - the rest are black. It's trivial to calculate the cumulative probability of drawing at least x white balls. Now, I repeat the experiment again and draw another 50 balls from a new bag o...
Why does adding a covariate of age cause the variance of random slope (log time) to increase? Isn't it supposed to decrease when a covariate is added? Firstly, there is only $log(time)$ in the model with random intercept and random slope. $Y=(b_0+e_{b0})+(b_1+e_{b1})*log(time)+e$ Then I add age as covariate:(also with ...
Given survival analysis relates to an analysis/prediction of time to an event, I was wondering if it was possible to be used to predict eathquakes. If so, how would one go about carrying out that analysis on say one particular region say Japan or California? So I guess a question related to that say...for example if we...
$Y^n$ are the observations of our HMM, where $Y_i=a_i$ is a single observation, where $a_i \epsilon \{0,1\}$. For example, $Y^n = k^n$ where $k^n=\{0,1,1,0\}$ $X^n$ are the actual states of our HMM, of which we know some (any) $X_i$. How can I both 1.intuitively and 2.carefully (using actual math) reason about the foll...
Possible Duplicate: Including the interaction but not the main effects in a model I have an experimental design with pretest and posttest. Two groups, experimental and control group. I am interested in finding whether there will be a difference between experimental and control group at the posttest, controlling for ...