instruction
stringlengths
9
38.7k
I've successfully implemented a RBM and trained it with CD-k, but I now have some issues doing the same with Convolutional RBM. The visible and hidden biases gradients are easy to compute: v1 - v2 for visible bias and h1_k - h2_k for the hidden bias. But I failed to see how to compute the gradients for the weights. Th...
I have read this statement many times but have never come across a proof. I would like to try to produce one myself but I'm not even sure on what notation to use. Can anyone help me with this?
I want to investigate how people (lets say smokers and non-smokers) differ in various characteristics. So I want to perform a binary logistic regression with SPSS. However, my event rate is very low (number of events = 27 and number of non-event = 200). I want to include several predictors: 3 factors, which I gained fr...
Instead of logistic regression when there is a prospectively follow cohort experiencing events there are methods to estimate a relative risk = RR (rather than an odds ratio) eg http://aje.oxfordjournals.org/content/159/7/702.full.pdf+html usually binary regression with a log link or a poisson regression this is imprtan...
Suppose I have a data set: Geography Quarter Y X1 X2 A 1 3 1 4 A 2 2 4 4 A 3 5 5 2 A 4 1 3 4 B 1 3 1 6 B 2 8 6 7 B 3 2 4 1 B 4 9 7 3 What does this statement do?: proc mixed data = d...
I have written an 8-pages technical paper (more theoretical than applied) in statistics. I only know of two journals (Biometrika and Statistics and Probability Letters) that publish such short communications and I was wondering whether there are other journals that take this kind of articles.
How can you show that the regression $y_{t}=\beta_0 + \beta_1x_{t}+\eta_t$ where $\eta_t$ is arima(1,1,1) is equivalent to $y'_t = \beta_1x'_{t}+\eta'_t$ where $\eta'_t=\phi_1\eta'_{t-1}+e_t$ and $'$ denotes a first difference? Also, is it possible to construct a model where everything is differenced except $\eta_t$, a...
In time series analysis, I have one predictor $X_1$ that has a higher $R^2$ when regressed against $Y$ sampled at 10 minutes interval. Another predictor $X_2$ has a lower error when fitted against $Y$ at 20 minutes intervals. The predictors are built from different data sets and unrelated to each other. For example, as...
First time user here! I have some troubles in finding some statistic method that would fit my purpose for testing bivariate frequency table. Below is a sample frequency table I have created with ordinal data. The rows and columns are labeled with ranks from 1 to 4. As you can see, most of my data is concentrated at ...
Ex. series, say stock prices 103 101 102 150 101 102 100 First differenced 2 1 48 -49 1 -2 Notice you could guess a very large negative number following the very large positive in the first differenced numbers. Is it the case that negative serial correlation is common in first differenced data and do you correc...
I have $10^8$ vectors in $1000$ dimensions each. I would like to drastically reduce their dimensions. However PCA seems computationally infeasible. Are there near linear time methods to do dimensionality reduction?
I have some data where I have certain classes (c1, c2, c3, c4 ...) and the data comprises of binary vectors where 1 and 0 denote that an entry belongs to a class or not. The number of classes will be > 200. The data will look like this: c1 c2 c3 c4 ... 1 0 0 0 ... 0 1 1 0 Would...
I am trying to find out if change in marital status have effect on person's health. I am using 2 data points panel data. My question is, how to interpret fixed coefficients if independent variable is categorical? Does coefficient in fixed effect mean that if person change marital status from married (reference catego...
This is an example from my book that I'm trying to figure out but I'm totally lost. Can someone complete this step by step so I understand? A new meditation technique based on making barnyard animal noises promises to calm people, but you might be skeptical. You can imagine that it could cause stress to sit around oin...
I'm using python's scipy.optimize.curve_fit routine (which uses a non-linear least squares) to fit an exponential function of the form: f(x) = a * exp(b*x) + c to a set of data. The result looks like this: where the black triangles are the data set and the blue curve is the f(x) fitted by the routine. The output of t...
Suppose I'm gambling using a strategy of doubling my bet whenever I lose to recoup my losses from previous bets. If my initial bet is 1/2048 of my capital, I can bet 10 times before I run out of money. Statistics says that the chances of this happening are ~1/718. As the law of large numbers states, though, this is in ...
I am working on a physics experiment, and I ran 500 runs to calculate a parameter. I want to use the t-test to see if my mean from 500 runs matches the actual value. u0: mean is actual value u1: mean is not actual value When I tried with 100 data first, it returned a high p-value which did not reject the null hypot...
I have a probability question for our customer event. Users choose tickets that contains one word from alphabet {A,E,L,P}. The ticket is not given back and user can choose as many tickets as he wants. There is no maximum number of involved users (but in real there will max. 1000). In an event we need there must be min...
I have a between-group independent variable with two level (A and B) and a dependent variable Y that I transformed in order to normalize the distribution of the residual. I used a Box Cox transformation with the following formula : ((Y^3,169833)-1)/3,169833 With this transformation I observed the following results (Y' ...
I am using log linear models (loglm function, library MASS of R) to evaluate if 3 variables in a 3 way contingency table are independent. I build the model of mutual independence loglm(formula = ~ A + B + C, data = test.t) Which gives me Statistics: X^2 df P(> X^2) Likelihood Ratio 264.7872 50 ...
I conducted a mixed design ANOVA with two within-subjects factors: FactorA (2 levels), FactorB (2 levels), and one between-subjects factor: Group (2 levels). My main hypothesis regards the interaction FactorAFactorBGroup. This is the ANOVA table: Type III Repeated Measures MANOVA Tests: Pillai test statistic ...
I am currently implementing Latent Semantic Analysis in Java using the EJML library for the preliminary Singular Value Decomposition (SVD). I am testing my code against the original term frequency matrix provided in an oldish introductory paper by Landauer et al.: http://lsa.colorado.edu/papers/dp1.LSAintro.pdf Strange...
I have 7 groups of data. I want to test if there is a significant difference between these groups of data. However, some of this data is overlapping. ie. some data in Group 1 might be in group 3. Some data in group 6 might also be in group 7 for example. The groups are therefore not perfectly matched. Secondly, because...
I want to simulate survival times from the model $\lambda(t|X_1,X_2) = \lambda_0(t) \exp(\gamma_1X_1+\gamma_2X_2)$ where covariates are given by $X_1\sim$Binomial(1,0.5), $X_2\sim$Uniform(0,1), the true parameter values are $\gamma_1=-0.5$, $\gamma_2=1.5$ and the true baseline hazard function is as follows $ \lambda_0(...
While researching information retrieval evaluation, I found LETOR. This is a test collection used for evaluation of ranking algorithms. Since the data contains relevance judgements for queries, it can also be used as a test collection for information retrieval evaluation (precision, recall...). I checked the whole site...
The documentation for the MASS package does not detail the calculation method for the standardized residuals using stdres(). I want to be sure that it matches the method I intend to use: residuals/(stdevres*sqrt(1-hat)) Does someone know if this is the calculation applied in this function?
I want to analyze some survival data. I have measurements of a biomarker (real-valued variable) before a first treatment, after that first treatment, and then after a second treatment (different to the first). I also have patient age and disease stage (ordinal variable) at enrollment. I am particularly interested in ho...
I want to reproduce the Example from Introduction to Econometrics by G. S. Maddala in R using tsls function from sem package. I'm confused how to identify the instrumental variables for the equations. Any help will be highly appreciated. Thanks ## ---- fm42 ---- fm42 <- tsls( formula = Q~R+RD+X , instrumen...
I know that data mining applications are being used in pharmaceutical companies, but my question is: what do they use them for? Sometimes I read: "drug discovery", but how? How is it used for drug discovery?!
I did the code for my $R^{2}$ (R square) test in MATLAB but it is not working accordingly. I want to test the Weibull distribution against my raw data, hence I want to do an $R^{2}$ (R square) test. Below is my code, but the results I obtain are negative. I tried with Gamma and Rayleigh to test, but the code was not ev...
An oracle can be asked a binary question. If the real answer is true, the oracle says true with probability tt (and false with probability tf=1-tt). If the real answer is false, the oracle says false with probability ff (and true with probability_ft=1-ff_). So the oracle is defined as P(q) = { tt, ff}. When the ora...
I have the following situations : (1) Very large number of variables - say 100 variables and 200 samples (observations). Although level of each variable is just 2 or 3 or 4 max. I am doing linear ANOVA to test the hypothesis. Say, for the first variable, Ho: l1 = l2 = l3 = l4, here l1, l2,l3, and l4 are means at level...
Consider an $X_i$, $Y_i$ distribution of points in a 2D plane. How can one assess if a given region in this 2D plane has a significant lack of points when comparing with the rest through a non-parametric test, without making any assumption on the underlying (unknown) distribution? I would be tempted to mirror the distr...
I am attempting to map out the probabilities of observing different categories given different person ability using the Nominal Model. From the handbook of Polymous Item Response Theory 2010, the probability of responding in category $k$ given ability $\theta$ and item parameters $a$ and $b$ for item $i$ is: $$P_{ik}(...
The von Mises distribution is entirely defined on the circle with a density given by $$f(x) = (2\,\pi\, I_0(\kappa))^{-1} \exp(\kappa \cos(x-\mu))\ ,$$ where $x$ is in an arbitrary real interval of length $2\pi$, $I_0$ is the Bessel-I function of order 0, $\mu$ is a location parameter, and $\kappa>0$ is a concentratio...
The bounty I placed on this question expires in the next 24 hours. I have a psychological data set which, traditionally, would be analysed using a paired samples t test. The design of the experiment is $39 (subjects) \times 7 (targets) \times 2 (conditions)$, and I'm interested in the difference in a given variable b...
Assume you have $x_i \sim \operatorname{Bernoulli}(p_i)$ with $p_i \sim \operatorname{Beta}(\alpha,\beta)$. I am exploring $Z=X_1+ \dots +X_n$ According to this page, it is $Z \sim \operatorname{BetaBinomial}(n,\alpha,\beta)$ but according to this page, with simulation, it is $Z \sim \operatorname{Binomial}(n,\frac{\...
Is logistic regression a correct way to identify the relationship between lead source (an independent variable), demographics (e.g., gender, income, etc., independent variables) and lead outcome (yes or no, my dependent variable)? More details: The values taken by lead source are categorical i.e. campaign, referral, co...
I have a set of points that lie on a circle, and I know their angles. Is there a way that I can test whether they are closer to another point x on the circle than expected by chance (assuming a uniform distribution on the circle)? Can I calculate mean arc length between xand the data, and then calculate the same for e...
I have a dependent variable, credit rating, and it is a limited dependent variable. Independent variables are profitability, firm size, stock return, etc. I was advised to use Stata and run regression with fixed effects and then predict yhat in order to obtain a target rating that a certain firm wants to target in this...
I have a kalman filter (a recursive least square filter, really) regressing over real-time streams of data. Because the data-generating process varies slightly over time I add an exponential forgetting factor to the kalman filter. It all fits nicely with good prediction. The problem I have is that the variables in inpu...
Let $(X_n)$ be iid random variables and suppose they have mean 0 and follow Cauchy distribution. I know I can set the location parameter to 0. My question is how to find the corresponding scale parameter. Thank you!
I need to track the conversion rate of a landing page. I want to figure out how many clicks I need to get before I can be sure that I have an accurate conversion rate calculation. I first figured I would calculate the confidence interval using the appropriate formula for a proportion, and find the number of clicks need...
yt = u + 0et + 0et-1 + 0et-2 01= .5 02 = .25 My series of existing data is : 1,0,2,0,1,0 So I estimate the first forecast value will be : yt+ 1 = .66 + .5(-.66) + .25 * .34 yt = 1 = .4125 I have had a go at this in an excel document but I am certain it is not correct. At this stage I am not estimating the first error...
I'm building a Maximum Entropy Model to classify some text, based on paper "A Maximum Entropy Approach to Natural Language Processing" by Berger et.al. It's similar to POS tagging. Below is some reduced sample of the training data, in the form of LABEL::text: ["PLACE::Worthington Street", "COURSE_SN::F0XN9", "COURSE_NA...
I have a monthly commodity demand and try to forecast this series for the next 5 years. Here is a plot: Of course, the natural approach to forecast this seasonality would be some kind exponential smoothing (e.g. Holt Winters). But my client requires me to incorporate also information about the state of the economy (e...
I'm using the $\mathrm{ARIMA}$$(p,d,q)$ model to predict future time series data in R (see also R's ARIMA documentation). Q: What is the minimum the number of data points we must have in the time series before using $\mathrm{ARIMA}(p,d,q)$? I originally thought it would be $\max(p,q)$, based on the model's descripti...
The following is easy to prove and can't possibly be new. But I can't find it printed anywhere despite some effort. Can anyone tell me where it is published? Let $X_1,X_2,\ldots$ be a sequence of real 1-D random variables with continuous densities $f_1,f_2,\ldots$. Let $\phi(x)$ be the standard normal density. We ar...
In a SVM with linear kernel, could you explain to me what exactly the C parameter is/represents? An example why it's important to select a good value for C would also be appreciated. Thank you.
I have a fairly large dataset with a few fields containing time-related data. This data comes in various shapes and sizes, but most of it can be parsed and rephrased in more appropriate formats for human-reading. Formats range from 2010-01-01 to less obvious like 2008-52 (the second number is the number of editions a m...
I have data in an excel spreadsheet of around 500 participants in a taste experiment. The data includes the age of the participant, in addition to one of five locations on their tongue in which they tasted five separate flavours, e.g. (Sweet, Middle), (Salt, Back) - The image below shows the first 20 entries to demonst...
I'm really confused about measuring the accuracy of Holt-Winters fitted models applying different transformations. How do i compare the accuracy between models when i apply no transformation to the data, the BoxCox power transformation and, for instance, log transformation? Say i have a time series x. fit1 <- HoltWinte...
I run bivariate Granger-causality regressions. Let $y_{t}$ and $x_{t}$ be stationary time series. I test if $x_{t}$ can forecast $y_{t}$ with the following regression: $$y_{t+1} = \alpha + \beta_{1}y_{t} + \beta_{2}x_{t} + \varepsilon_{t+1}$$ I find that $\beta_{2}$ is significantly larger than zero, so $x_{t}$ appears...
I have a general statistical question. Three schools A, B, and C have 0.23, 0.56, and 0.8 fraction of female teachers. The upper and lower confidence intervals (CI) for the three schools can be tabulated as shown below: school female_instructors upper_CI lower_CI A 0.33 0.53 0.13 B 0....
In the following multilevel analysis in R (taken from here, page 57): > Model.1<-lme(WBEING~HRS+G.HRS,random=~1|GRP,data=bh1996, control=list(opt="optim")) > summary(Model.1) Linear mixed-effects model fit by REML Data: bh1996 AIC BIC logLik 19222.28 19256.81 -9606.14 Random effects: Formula: ~1 | GRP ...
It seems that KNN is a discriminative learning algorithm but I can't seem to find any online sources confirming this. Is KNN a discriminative learning algorithm?
If I have two continuous distributions $f(x)$ and $g(x)$, there are several mathematical ways to combine $f$ and $g$ to get new distributions. Which correspond to what statistical interpretation? For example, if I multiply $f$ and $g$ into $fg$, does $fg$ have a statistical meaning? What about $f/g$, $f \circ g$ and $f...
I'm fitting a HMM to time series, for each data set I use BIC results to select the optimum number of states. In that, the BIC number is lowest and thereby indicating this model with that number of states best describes that data set. Is this procedure correct? For my time series sets (around 500 time series), 2 state...
I am confused with multiple comparisons adjustments. I have a $p$-values with lot of ones ( due to many scores in foreground are 0) from a fisher-exact test. I get some $p$-values which are significant without multiple testing correction. The $p$-value compose of 1000 $p$-values of Min. 1st Qu. Median Mean...
The data we are interpolating is monotonically increasing (for example, a car's odometer reading). We have two types of points we'd like the solution to interpolate through. The solution surface must pass through critical points. The solution does not have to pass through non-critical points, but must aim to minimize d...
I am developing a linear model of yield against time (33 years of yield data) where year is 1975,1976....2007. I want to know whether change in yield over time was linear or not. So I fitted a linear model of yield against year: mdl<-lm(yld ~ year,data=data) In my second model, year raised to the power 2. mdl2<-lm(y...
I'm trying to see if there are any significant differences in 3 data sets that I have. The data is taken from around 1000 participants, each within different families who tried an experiment to see whether or not they tasted a particular flavour (salt, sour, sweet, bitter, umami) on the same part of their tongue (front...
I'm looking for a visually compelling yet immediately understandable way to visualize a range of data (min, median, max) Considerations: The approach should be understandable to a wide variety of people Ideally, would allow for the comparison to another set of data Ideally, will work okay or both high and low N case...
(1) If I believe my instrument is exogenous conditional upon a few exogenous variables, do I include them only in the first stage? I.e. would the command be: ivregress 2sls Y (X= inst1 inst 2 exog1 exog2) exog3 exog4 Where Y is the dependent variable, X is an endogenous variable, inst1 and 2 are the instruments for X...
Does anyone know of an approximation for the logarithm of the standard normal CDF for x<0? I need to implement an algorithm that very quickly calculates it. The straightforward way, of course, is to first calculate the CDF (for which I can find suitably simple approximations on Wikipedia), and then to take the logarith...
I have come across the famous coupon collector's problem. Linking the problem to the Twelvefold way, my first reaction has been to use the case with unlabelled balls with labelled boxes. However, it seems that the question is answered typically (correctly?) with labelled balls with labelled boxes case. Please see this ...
I have a random vector $\theta$, which was generated by: X1 ~ Dirichlet($\alpha_1$) X2 ~ Dirichlet($\alpha_2$) $\theta$ = element wise X1/X2 What is the PDF for $\theta$? Thanks at @Matthew. The author suggests approximating a Dirichlet with independent Betas. This approximation will lose the part I am most intereste...
I have a number of salary figures for roles that I want to compare across various countries. Obviously each country has their own currency and living costs. A simple way of comparing would be to use the current exchange rate. Is there a more reasonable figure of "buying power" or something similar that I could use in...
I have a sample of 1,449 data points that are not correlated (r-squared 0.006). When analyzing the data, I discovered that by splitting the independent variable values into positive and negative groups, there seems to be a significant difference in the average of dependent variable for each group. Splitting the points ...
I am studying interval estimation by the method of pivotal quantities. Let $X_1, X_2, ..., X_n$ be a random sample from a p.d.f $f(x;\lambda)=\lambda e^{-\lambda x}, x>0,\lambda >0$. I have to show that $2\lambda\sum X_i$ is a pivotal for estimating $\lambda$. Since $X \sim \exp(\lambda),\ \sum X_i\sim {\rm Gamma}(...
I want to graph some data, containing of an event ID and a date (minimum required resolution is one day). every event ID has multiple dates connected to it, so the min and max date give me a time span. Another useful information would be where in time most of these events took place (like a density graph over this time...
I just saw this website, that offers different online regression tools. For example it offers linear regression that creates a function in the form $y=ax+b$. Or it offers power regression that creates a function of the form $y=cx^a$. Or even it provides logarithmic regression that produces a function $y=c\cdot\log(x) +...
I have a basic question. MLE/LMSSE is introduced as follows: $$Y = H\theta + W$$ where $H$ is the linear model matrix, $W$ is measurement noise (let's assume it is normal so MLE = LMSSE). $\theta$ is the vector of parameters. The ML estimate is well-known: $(H'H)^{-1}H'\bf{Y} = \widehat{\theta}\quad\quad$ ($\bf{Y}$ is ...
My question is whether my data are a survival analysis problem. I have 3 groups (2 interventions and 1 control). The 200 patients are all followed up for 6 months only. The follow-up is done by observing the records in a public hospital for any readmissions. I am making the assumption that a patient does not visit any ...
I ran an OLS regression, and the p-value of one variable is 0.065, which is more than the threshold to consider statistically significant. However, it's not too bad either, as my data has only 300+ data points. Therefore I think the explanation needs to be taken with a bit of salt. How would you explain such a finding ...
I am asking for your help because I'm not sure whether the procedure I'm using is correct. I have two models, M1 and M2, and for each of them I have ten instances (ensemble members). For each model I calculate the output mean of all the members inside the ensemble. Then I compute the correlation between this ensemble m...
Consider two simple linear models. $y_{1j}=\alpha _1+\beta_{1}x_{1j}+\epsilon_{1j}$ and $y_{2j}=\alpha _2+\beta_{2}x_{2j}+\epsilon_{2j}$ , $ j=1,2,...,n>2$ where $ \epsilon_{ij}$~$N(0,\sigma^2)$ I have two questions. 1 ) Show that the point on the x-axis where the two lines intersect is given by $x_0$=${\alpha_1-\al...
How do you estimate the appropriate forecast model for a time series by visual inspection of the ACF and PACF plots? Which one (i.e., ACF or PACF) tells the AR or the MA (or do they both)? Which part of the graphs tell you the seasonal and non-seasonal part for a seasonal ARIMA? Consider the ACF and PCF functions displ...
What is the appropriate (or the advantages of disadvantages for each) measure for weighting mortality rates across countries: total population or total number of deaths? For example, if you have age-standardized cardiovascular disease mortality rates for 5 different-sized but otherwise comparable countries and want to ...
I have a list of numeric vectors, not necessarily all the same length. I'd like to get a plot where each vector in the list is plotted vertically above a label for that vector on the x-axis. Is there an "automatic way" to do that in R? Here's an example set of data: yl = structure(list( A = c(4.232886, 3.3...
I am quantifying a measure of correlation in a graph/network under two different experimental conditions to determine whether there is a significant difference in the measure given by the change of condition. I am repeating this computation for a number (N=5) of heterogeneous graphs/networks in the sense that they may ...
I have a problem with a number of inputs and one binary output, which I have tried to train several classifiers to solve. Unfortunately, none of the classifiers (MLP, SVM, bagging) have achieved the required level of accuracy. I am thinking of subdividing the problem by splitting the dataset into two, and using a diff...
Suppose we have declared four motion types for air-plane. If we represent each maneuver with a trajectory line, what is the best classification method to retrieve the trajectory pattern with a similar trajectory shape to the new trajectory path? The proposed method should be able to classify partial paths so that we ca...
I'm interested in using a wavelet transform, Haar for example, to create classification variables from time series data to use in logistic regression. Simple example. Let's say I'm trying to predict payment defaults and I have a person's monthly expense data and I know that someone with consistent expenses is better th...
Let $X_1,X_2,...,X_n$ be a random sample from a normal distribution with mean $\mu$ and variance $\sigma^2$. I showed that $(\bar X,S^2)$ is jointly sufficient for estimating ($\mu$,$\sigma^2$) where $\bar X$ is the sample mean and $S^2$ is the sample variance. Then assuming that$(\bar X,S^2)$ is also complete I have...
I ran linear mixed effects model in R. model<-lmer(yld ~ rain + (1+rain|state),data=data,REML=FALSE) Is there any way I can generate an R-squared for the model. I know we can derive R-squared for a generalised linear mixed effects model http://jonlefcheck.net/2013/03/13/r2-for-linear-mixed-effects-models/ but I am not...
I am trying to fit an exponential model to some data. The data is: Wavelength aCDOM 350.01 0.80605 350.22 0.78302 350.43 0.78302 350.64 0.78302 350.85 0.78302 351.06 0.78302 351.27 0.78302 351.48 0.78302 351.68 0.75999 351.89 0.75999 352.1 0.75999 352.31 0.75999 352.52 0.75999 352.73 0.73696 352.94 0.7...
I would like to test the null hypothesis that all coefficients of my categorical variable with 4 Levels are really zero using Wald test & R. I'm new to the R family. And just have some problems to implement that question. My model is lm(Y ~ X + Z) where X is continuous and Z qualitative/categorical with 4 levels. Examp...
In the solution to this question (Extreme Value Theory - Show: Normal to Gumbel), the OP asked for the sequence $(a_n, b_n)$ such that $\Phi(a_nx+b_n)$ converges to the Gumbel CDF. Not only did I not able to understand the derivation in the accepted answer (I don't see the derivation for the last paragraph), I am also ...
I have a dataset which contains many (hundreds) of short (3-30 obs) timeseries of different lengths. Each series is currently represented as a number indicating how long it took to the next event. To give you an idea: 0, 30, 34, 39, 45, 47, 51, 51 0, 5, 5, 7, 40 I'm sure that the values do not depend on time of day/we...
I have data sets of the attendance of congresspeople, and of the weather in Washington, DC. I would like to examine whether and to what degree precipitation is correlated with the likelihood of individual congresspeople being present or absent. For example, the 111th congress was in session 298 days of the 388 days bet...
I am using Matlab to forecast time series data using ARIMA algorithm. I am able to get forecasted values, but unable to get the fitted values. This is what I mean. In R: model <- auto.arima(data)"); forecasted <- forecast.Arima(model, h=36) forecasted$fitted forecasted$fitted will give the data which has been fitt...
I have 2 vectors of rural and urban populations of the same country. (years from 1975 to 2020) with only three values (1980, 1990 and 2001 years) in each. And I need to predict the missing data. My first approach was to interpolate the data in between the known years(using na.approx in R) and then use make an ARIMA mod...
I've been assigned to solve the following problem as part of a serious, biological research project. I think I have a tentative solution, but I'm wondering whether the approach I've picked is the best. Your help/input would be appreciated. We monitored the vital signs (V) of ten subjects as they travelled up and down...
I am analyzing student performance on a pre/post test designed to assess gains for a week long high school biology curriculum on natural selection. After comparing pre/post performance using a variety of different metrics (test score, Rasch measure, chi-square per item) between the paired samples, I conducted an ANOVA ...
I have been trying to classify a set of data into one of four classes. The data has already been generated and I have set aside 10,000 for training and 2,000 for testing. I have also generated the labels for each of the data. Let's call the classes - 0,1,2 and 3. Now when I observe the classification, I notice that the...
So I'm not sure if I 100% grasp confidence intervals. Say I have a huge data set of a bond prices from 1996 to present in MINUTES. Suppose I separate each data by day. If I were to use a Dickey Fuller Test (or any other t-test), on a particular day (thus a sample is drawn based on all points in one day) and the value I...
I am estimating a random intercept and a random slope model using the following R code. My dependent and independent variable are both continuous. randominterceptfixedslope<-lmer(y ~ x + (1|state),data=data,method="ML") # model with fixed slope but random intercept randominterceptrandomslope<-lmer(y ~ x + (1+x|state),d...
Lately I've been reading a lot about time series clustering as I want to search for similar patterns in my own data set. Even though I feel like I understand the basic concepts of this task I still get confused when talking about high dimensional- as well as multivariate time series. While multivariate time series are...
I want to understand the distribution of orientation angles in a 3D image (represented as a triangular mesh). For each triangle in the image I have zenith ($\Theta$) and azimuth ($\phi$) And I can compute histograms for each: Is there a way that I can combine the information contained in these images into a single h...