instruction
stringlengths
9
38.7k
I have two sets of probability values (one with 100 rows and another one with 500 rows). The data is skewed. I want to test if there are significant differences between both groups. Questions: 1) What is the best approach/statistical test to do so? 2) Should I reclassify the values in classes (for instance: 0-0.1, 0.1-...
I am using random Forest in R and only want to Plot the OOB Error. When I do plot(myModel, log = "y") I get a diagram where each of my class is a line. On the x-axis are the ntree while on the x-Axis there is the Error rate. When I try plot(myModel$err.rate, log = "y") I get this: Why is there no line like the ones a...
So, I'm performing generalized linear mixed models with a poisson distribution and an offset. When looking at the Cook's distance, I found gigantic values (above 3000). When removing the concerned observation, the model fail to converge. Note that all independent variables have been scaled. I would like to include my d...
I just ran a negative binomial GLM and this is the output: Call: glm.nb(formula = small ~ method + site + depth, data = size.dat, init.theta = 1.080668549, link = log) Deviance Residuals: Min 1Q Median 3Q Max -2.2452 -0.9973 -0.3028 0.3864 1.8727 Coefficients: Estima...
I am preparing some materials for an introduction to sample size calculation for life sciences graduate students with no or very limited previous statistical experience. Right at the start I will be defining the basic distributions (normal, binomial, Poisson and possibly exponential). Mostly, this is trivial (“Poissi...
IF there are two curves P [p1,p2...pm] and Q [q1,q2...qm]. To compute the Frechet distance, we will arrange them in the form of grid and compute distance between different points in the grid and fill the cells. What is to be done next. How do we reach upto Frechet distance
I am currently trying to analyse data from a crossover study. In brief, the study is of a crossover design, where each participant takes part in 2 separate sessions, where they play a game. This game repeatedly measures a few different variables, let's call one reaction time. During one session, reaction time is measur...
I am wondering if there are any theoretical problems with taking the average of two standardized variables. Suppose I want to combine two variables to have a single measure. I could create an index by using weighted averages or PCA. I was wondering if there are any theoretical impediments against standardizing each var...
I have around 20 independent (or not strongly correlated) predictor variables. And there are about 20 observations for each variable and the outcome. I want to build a Bayesian linear regression model using these data. How to effectively select the predictors, since 20 predictors are too many? Maybe can use informatio...
I'm wondering whether anyone had success in including continuous variables in an LSTM model? For example, assume that each output should have a prediction for amount of apples and amount of oranges found: Simple example: x1 = [3, "apples", 5, "oranges"] y1 = [3, 5] More complex: x1 = ["I", "want", "3", "apples", "and"...
Let $(x_i,y_i)_{1\leq i\leq n}$ some dataset. I want to estimate the conditional expectation $E[Y\mid X=x]$ and the conditional variance $V[Y\mid X=x]$. I used Nadaraya-Watson's estimator to estimate the conditional expectation: $$\hat{E}[Y\mid X=x]=\frac{\sum_{i=1}^ny_iK\left(\frac{x-x_i}{h}\right)}{\sum_{i=1}^nK\left...
I have a couple of categorical variables, representing two characteristics, I will call them A and B, so that X1 is either A or not A (0/1) and X2 is either B or not B (0/1). In addition, I have many dependent variables, some continuous and some categorical, all representing blood test results (red blood count, white b...
This is the exact error: Error in randomForest.default(m, y, ...) : sampsize has too many elements. Here is part of my code for classification (not regression) using compiled 3rd party data for prediction: library(randomForest) library(ROCR) table(train_hc$RESPONSE) 0 1 243697 6303 table(test_hc...
I have a csv data file which contains a non-numeric column (tarif) which can have hce, hp, .... The problem is some missing values. As the values are non-numeric (hce or hp), it is impossible to impute with mean(). Can you suggest ideas to resolve this problem to fill empty columns?
My newbie question is how to select the best model including different types of moderator variables in fixed or mixed models. Here's some example data (from the package help): data(dat.bcg) ### meta-analysis of the log relative risks using a random-effects model res0 <- rma(measure="RR", ai=tpos, bi=tneg, ci=cpos, di...
I'm doing a study on the compliance of schools with questions in a standard 12 question questionnaire at two points in time (2010 and 2015). Basically the American Heart Association puts out a suggested list of 12 questions for heart screening and then schools pick and choose which questions they use. For each questio...
I am using a neural network with a linear activation function as the output function. My response is continuous and cannot be negative nor can it exceed a certain value. the value is usually between 0 and 1000. I have used a log response to avoid negative values but When I run the neural network some values will excee...
We say that a sequence of random scalars $\{z_{n}\}$ converge in probability to a constant $\alpha$ , if for any $\epsilon>0$ ,$$\lim_{n\rightarrow\infty}\mathbb{P}\left(|z_{n}-\alpha|>\epsilon\right)=0$$ I understand the application of this notion to the Weak Law of Large Numbers, where I understand that when the...
ok so I have 2 assets, asset A and asset B, this assets have a vector of returns , 30 observations each. I calculate the estimated return as mean of the asset vector A and for B as a mean of asset vector B. Now I have rA and rB which i will call now vector r . i bild now the covariance matrix as var A B COV A B CO...
Let's suppose I have a dataset with classes A and B, with class A occurring in 1% of cases and class B occurring in 99% of cases. Perhaps class A is a loan default. Suppose I want to "understand" what factors make one class A vs B by fitting a logistic regression to dependent variables X and then looking at model coeff...
So, I have created a neural network using back propagation and sigmoid function. It seems to work for XOR and images with size of 28×28. However, When I input it 100×100 image the mean-square-error is 0.3 ish. I am using 1 hidden layer. I basically have two questions: Is it possible to use neural network not deep neu...
I have some convolutional neural network and I want to know how to get the data set size required for training? How to get the data set size if I want to train a perceptron? Which math tool can be used to calculate the estimate?
If we have two groups with the probability of some action and in 1 group-prob equals to 30% and in the 2 group-35% can we say that prob is significantly higher in 2 group if there are 1000 observation in 1 group and 20 observation in the 2 group? I guess, the answer is no. But can you please help me with the explanatio...
I report one of the definiton of Fisher's $F$ Suppose that $\chi^2_A$ has the chi-square distribution with $\nu_A$ degrees of freedom and $\chi^2_B$ has the chi-square distribution with $\nu_B$ degrees of freedom, where $\nu_A,\nu_B∈(0,∞)$. Assume also that $\chi^2_A$ and $\chi^2_B$ are independent. The distrib...
I run a Box-Cox transformation for a linear model to find an appropriate transformation for a response variable, which is a number of insect per sq.meter. I need to transform the response variable because of a pattern in the residual plot obtained after running the linear regression using none-transformed response vari...
Suppose I have 3 friends, each of them are independent and each of them have the probability of p to tell the truth about something (e.g. company, weather, stock, etc.). Suppose something happened (e.g. company is holding a party other than not holding a party, weather is good other than bad, stock is rising other than...
The recent progress in neural networks is summarized by a sequence of novel architectures characterized mainly by its growing design complexity. From LeNet5 (1994) to AlexNet (2012), to Overfeat (2013) and GoogleLeNet/Inception (2014) and so on... Is there any attempt to let the machine decide/design which architecture...
I'm new working with sequences rules and I am little lost about what is the next step. I already generate the rules but I'm not sure how to test them in a new dataset, in order to verify them. Do I have to execute again the cspade algorithm and expect that the new result seems similar to the first one? Any help would ...
I am using R (x64 version 3.2.2) on Windows 10 and get the following error message when (see below) trying to subset a very simple dataframe which has many NAs. dt <- read.table("Datos.csv", header=T, sep=",") k1 <- which(apply(is.na(dt),2,sum) < 10) #Keep variables with <10 NA's k2 <- which(apply(is.na(dt[,k1]),1,sum...
Supposing you've a model M(A,B) dependent on parameters A and B. You've successfully generated 10,000 samples from the posterior distributions for A and for B. The 2.5% and 97.5% quantiles of the posterior distributions for A and B act as estimates for a 95% credibility interval for A and B. If one wanted to obtain a c...
I am analyzing a proportion $y \in [0,1]$. I will eventually be conducting analysis using zero-and-one inflated beta regression. Before I perform that analysis, I would like to quantify the reliability this measurement. 75 raters rated the same subject on two different days. I was wanting to calculate the ICC. Does any...
I have a dataset of 140000 examples and 30 features for which I am training several classifiers for a binary classification (SVM, Logistic Regression, Random Forest etc) In many cases hyperparameter tuning on the whole dataset using either Grid or Random search is too costly time-wise. I started using the following tec...
Is there some sort of approximation or analytic definition of the sampling distributions of the skewness and kurtosis when samples are taken from a NON-normal distribution? I have been looking for some article or book chapter that may talk about them but the best I can come up is people claiming it is "difficult" to d...
I am having a hard time understanding how lme4 is fitting my data and am unsure if I am setting up my model correctly. I have very limited experience with mixed effect models. My data is monthly sales records of a number of salespeople in various regions. I do not have the same amount of observations for each salespers...
I am comparing two time series with weekly data from 2005-2016, and wanted to see if one time series (x) predicts the other (y). In selecting the 'order' of the Granger Test, I used the Augmented Dickey Fuller (ADF) test to find the "lag" order. The ADF was used to identify the alternative hypothesis as stationary with...
I am conducting a meta-analysis on the effectiveness of a learning intervention. In the studies I analyse, there are multiple outcome measures: the majority of them have a positive direction, i.e. we expect them to increase (e.g., accuracy, proficiency, vocabulary-size, etc.), but some have a negative direction, i.e. w...
IBM says that 'IBM Watson is a technology platform that uses natural language processing and machine learning...' But what is the name of the machine learning technique they are using. I assumed it was artificial neural networks but I can't find any reference regarding the same.
I have two groups of data, one is a group of people at age 5 and the other set of data is the same group of people when they are 8 years old. I want to test if group two (age 8) eat more food under a certain condition, compare to when they were 5 years old. However, I know that in general kids eat more when they are o...
I have four samples (x1, x2, x3, and x4) with their values shown below: > x1 [1] 0.6343592 0.4960767 0.5802182 0.5224468 0.5774899 0.4938405 [7] 0.6413160 0.6168486 0.4975457 0.6120071 0.5813722 0.5425456 [13] 0.4792247 0.5383875 0.5702392 0.4406344 0.5309179 0.5509874 [19] 0.5457732 0.5413252 0.5338342 0.4286551 0.4...
I am modelling a binary outcome (Buried), that has two predictors: Offset (a 3 level factor) and width (continuous predictor). In addition, multiple data points came from the same unit -- a chamber, with 27 chambers in total -- so I have included random intercepts that vary by chamber to account for the non-independenc...
I've been working on a high school project attempting to determine whether or not there exists a relationship (and if it exists, information on the strength and duration of the relationship) between stock market data and election polls (both in time series format, n=250). While I'm moderately familiar on how to fit an...
I'm attempting a parametric bootstrap of a statistic in SAS. I'm using the RAND("Normal") function to generate a distribution around the statistic similar to this: http://support.sas.com/resources/papers/proceedings15/SAS1387-2015.pdf. XRate is actually more complicated with an unknown variance (hence the bootstrap), ...
I have been trying to create 2d array/image from three 1d arrays. The arrays are latitude, longitude and temperature. For each value of lat and lon I have temperature. But the lat-lons are not equidistant. I tried delaunay triangulation in MATLAB, but the surface is only showing in the plot. I want to export it to 2d a...
In classification tasks, it is easy to construct a confusion matrix, which shows many samples were classified correctly (true and false positives), and how many samples were classified incorrectly (true and false negatives). The various metrics that can be computed from the confusion matrix are quite easy to understand...
Bayes rule is: $p(x|D)\propto p(D|x)p(x)$ Imagine $p(x)$ and $p(D|x)$ are both Gaussian distributed. I understand in this case that I can obtain the posterior analytically (conjugate priors). But I'm a bit confused on how to sample from the posterior distribution via an MC (Monte Carlo) method. If $p(x)$ is Gaussian,...
I try to select the best model with the glmnet package and lasso. I have got a huge gene matrix with over 54.000 rows called testmatrix. And I have some predictors. I tried the following code for only one row of the matrix testmatrix and it worked. I found the best coefficients for my model. But now I want to find the ...
I have an experiment where I have 4 treatments and 2 outcomes (1 or 0) possible for each treatment. This is the result I calculated in R but I don't understand why only 3 of my treatments come up in the summary. How do I interpret this? The 4 treatments relate to nest sites that may either be a control, no egg, quail e...
I am currently working on a research project based on the data of a big survey. I derived a variable set, which I would like to investigate. Before starting with it, I would like to check the assumptions of the OLS. I read quite a bit about these assumptions but I am still not sure how I can interpret my output. I am ...
My question is concerning the frequentist approach to probability. Assume that you tossed a coin but don't see the outcome. Does it make sense to say that it shows head with a probability of 0.5? Or doesn't it make sense to say that because it either is or is not heads? I would argue that it does make sense because oth...
I have dataset df consist of 8000 observations org_id property1 property2 property3 uptimeDay event and org_id is a categorical variable with 1199 different levels. The other two variables or properties of an organization and are numerical. coxp_1<-coxph(formula = Surv(uptimeDay, event,type='right') ~ (peroperty1 + p...
I've been trying to estimate a series of simulated Gamma-distributed random variables and its structural parameters with MCMC for a stochastic volatility model. However, both the random walk Metropolis algorithm and the ARMS algorithm (by Gilks et al. (1995)) fail to converge. In doing so, I monitor acceptance rates be...
Suppose the outcome that I want to predict is a vector of mean values, each of which was calculated from a sample of different size. More specifically, I am predicting mean ratings for products, and each of those ratings was calculated based on a different number of people who voted for a particular product. So the dat...
I am currently working with a dataset composed by 14 continuous variables and 100 observations. My goal is to select variables of interest to build consistent clusters and doing classification. I was thinking about using Gaussian Mixture Model. Indeed, to select variables and to find the best model, I used the "vscc" p...
as the title states I'm conducting a statistical analysis for the variation within a machine (a laser marker). Just as a little background info, I have started off by conducting a GR&R for the measurement system that I'll be using. I've conducted the GR&R by measuring the same points(77 in total) a total of ten times a...
I have collected diabetes patient details. Each user details contains his symptoms, he might have diabetes in symptoms and might not have. Currently what I am doing: If patient A have x and y symptoms. And we find 20 patients who have x and y along with diabetes as a symtoms out of 100 patients. So we count A has 20℅(2...
I want to group my dataset using clustering technique. I apply k-means and used Dunn index and Silhouette Coefficient for the validation (selection of the best number of clusters). Now I want to know what should be the optimal cluster number based on the Dunn index. For your reference i am uploading the DI and SC plot...
I would like to know the appropriate statistical test for the following data: I have a dataset of distances in km (10,000 cases) which represent the distance between a motorway and a point of interest. 50 of these points of interest have been burgled. I want to know whether there is a significant effect of distance fro...
What is the exact meaning of the entries of a correlation coefficients matrix? I have spent time researching this, but could find only approximate interpretations which give me no good understanding of results. It's very clear to me what a correlation coefficient of 1, 0 or -1 mean, but I dislike the simplistic explan...
I'm currently attempting to create a linear model in R with some categorical and some continuous variables like as follows: lm(Cost ~ factor(Factor1) + factor(Factor2) + Continuousvariable) I'm aware that when using factors (categorical variables) the default in R chooses the first factor alphanumerically to be the re...
Using the R package MASS, I transformed a variable, let's call it $V$, into another variable called $X$ with $\lambda = 1.25$. Now, the BoxCox transformation has the following shape: $X = (V^\lambda - 1) / \lambda$ So the reverse transformation is: $V = (\lambda X + 1)^{1/\lambda}$ With $\lambda = 1.25$, $V < 1$ implie...
I'm investigating two possibly cointegrating time series and need to test for stationarity. Both series have structural breaks, possibly more than one. My procedure is as follows: Clemente Montanes Reyes (CMR) test for unit root with two breaks if both breaks are not significant then Perron and Vogelsang (PV) test fo...
I am currently analyzing a time-series experiment and I have some difficulties to come with a nice comparison of my groups. I was hoping someone could help me. The design is the following: Three groups of 10 individuals are analyzed with the same technic at 15 timepoints. For each individuals at each timepoint we obtai...
Why is the logistic regression hypothesis seen as a probability function? I understand that we use it to predict 0 or 1, but still, why a function (the hypothesis) that outputs numbers between 0 and 1 may be considered a probability function? Is this a heuristic?
I have data from an EEG experiment. Originally, the design was balanced, but because in EEG you loose a lot of data to noise and malfunctioning equipment, the end-result is unbalanced data. I am working with R. In R, my data looks like this: Name Condition Channel EpochCountStd EpochCountDevi...
Does R and Python implementaions of Random Forest handle categorical variable differently ? sklearn vs. randomForest implementations clue : I've heard that R implementation looks for the best combination of categories for each split and sklearn looks for one category which provides the best split... is it true that d...
I am curious to find out the confidence level of results. It's best to give an example of what I mean cause I struggle to speak in the technical terms. Example: Jack runs an advertisement that 1000 people see. 10 of those people convert and actually purchase something. Jack is sure his conversion rate is 1%. Sally disa...
In the book, The Elements of Statistical Learning http://statweb.stanford.edu/~tibs/ElemStatLearn/printings/ESLII_print10.pdf (page 19-20) The author claims that In the least squares method, we assume the regression function $f(x)$ is well approximated by a globally linear function. In the k nearest neighbors method w...
I have a table with two columns X and Y. Each row represents an aggregate statistics for an instance. I introduce a new column as Z = X / Y, which is another important information on the instance. Now, I want to present the overall statistics of the instances (i.e. Mean). Here I have a concern: Which one should I use ...
I am trying to simulate predictions of a binary classifier, given its precision, recall, classification accuracy ($CA$) and the actual classes of the instances. I.e. I have instances and I know what their actual classes are. I'm trying to create errors in those classes that would accurately reflect the error rates I wo...
Lets say that I would like to predict or forecast the elevation of a certain coordinate on a map. What I have is the data of random points in, lets say, 50km radius from the point I would like to predict (or forecast) the elevation for. Lets say it is all located in a CSV file, and headers for variables are: Longitude(...
I have a LSTM (Long-Short Term Memory) Neural Network that has this structure: model = Sequential() model.add(Masking(mask_value=0.0, input_shape=(271,2))) adam = Adam(lr=.0000001, clipnorm = .001) model.add(LSTM(271, activation = 'linear', input_shape=(271,2))) #return_sequences = True #model.add(LSTM(3, activation ...
Problem at hand: I have 2 pairs of equal time frames (say days) trying to compare if a change on a website caused the average time to change significantly or not. I know that this could be a classic example of paired t-test (given it follows all assumptions), but my question is can we really work on the average of alre...
What's the difference between a linear model and a general linear model? Maybe: $Y=a X + b$ - general linear and $Y=a \psi(X) + b$ - linear ? These forms come from the relevant Wikipedia articles on the linear and general linear models.
I would like to get an overview over the most common methods for estimating the lag order of an AR($p$) process. The common literature states: Akaike information criterion (AIC) Bayesian information criterion (BIC) Hannan–Quinn information criterion (HQC) Akaike's final prediction error (FPE) criterion Criterion aut...
There are a number of threads, blogs etc. discussing autoregressive models in JAGS, and but only a few that supply the code. John Kruschke's code for an autoregressive model with a sinusoidal component is: model { trend[1] <- beta0 + beta1 * x[1] + amp * cos( ( x[1] - thresh ) / wl ) for( i in 2 : Ndata ) { y[i] ~ d...
Context Assume we train a model with a training set that cointains features $x_1,x_2,...,x_k$. However, we know in advance that there are many hidden variables influencing the output $x_{k+1},x_{k+2},..,x_N$ but during training all these are simply constant $x_j = const$ for $j>k$ However, the hidden variables will cha...
I have dataset about vehicles that crossed a certain singalized intersection (each record is vehicle). I want to model the relationship between the entrance time relative to the yellow onset (independent variable) and the number of vehicles (dependent variable). To this end, I use the following logistic model: I divid...
What decides the choice of function ( Softmax vs Sigmoid ) in a Logistic classifier ? Suppose there are 4 output classes . Each of the above function gives the probabilities of each class being the correct output . So which one to take for a classifier ?
Given a string of 10 random digits in the range 0-9 what is the probability of another random 10 digit string (in the same range) matching where a match can have an edit distance of 2. By edit distance I mean that a string could be said to match if you could arrive at the correct answer by making two edits. For example...
What is actual difference between scale-space and wavelet transform? It seems that wavelets require an orthonormal basis of kernels, whereas scale-space does not. Is it the only difference? Can scale-space be considered as particular case of wavelet transform? UPDATE Example. Suppose I convolve a 1d signal with several...
I'm using the ROCR package in R to measure performance. The data I have has thousands of data points (700,000). ROCR ends up picking too many cutoff values and I end up with a performance object which is too large/slow to plot. pred = prediction( values, labels) perf = performance(pred, 'acc') Is there any easy way to...
I have a set of features F and a set of items X. Each item x_i is a vector: (w_i_1, ..., w_i_n) where w_i_j is a weight of feature f_j in the item x_i. For each item sum of weights is arbitrary, but each weight is in [0, 1] range (e.g. there are vectors not having any of the features or all of the features at max). G...
I am fitting a glm model on my data set. But in my case I don't have any competing models to decide upon, i.e., I just have only one model and have to estimate the coefficients of the model. In such a case shouldn't I use all the data to train the model or should I still divide the data set into training and testing? ...
Does LSTM eliminate the need for input lags? I believe the answer is yes; however, I've not found it explicitly stated in the papers and searching I have completed.
Are there any videos or other books/notes that anyone has come across that follow Pattern Recognition and Machine Learning by Chris Bishop? I bought this book to learn Machine Learning and am having some trouble getting through it.
I want to build a machine learning model using the caret package in R. Some of the features in my dataset are dummies taking the value 0 or 1. I would like to know which resampling methods can be used in the presence of dummy variables. k-fold cross-validation does not seem to be an option as explained in this post. I...
I'm trying to wrap my head around why predicted probability is plotted on the x-axis and observed probability on the y-axis, and not the other way around.
When we perform time series prediction on differenced data and translate it back to original space using undifferencing. The error in predictions increase due to cumulative sum. is there a way to reduce it
We often hear of studies with "too low" a sample size. But what does that actually mean? Is it perhaps any of these two things (if not, please suggest a better interpretation): 1) Inability to reject a certain null hypothesis, given a certain expected effect size and power level. 2) Too poor an estimate of the populati...
In this simplified example, I have five variables for each individual. The data is normalized, with mean 0 and sd 1 in each variable. I would like to divide this data into two groups with equal size and I'd like the mean for each variable to be as close to zero as possible (because since data is normalized, this would ...
I am reading Pfaff "Analysis of Integrated and Cointegrated Time Series with R" (2008). On page 130, section 8.1.2 "Determining the Cointegration Rank" they start by determining cointegration rank. Because inferences on cointegration space spanned by its vectors are dependent on whether or not linear trends exist in th...
I consider a circular complex normal variable $x = x_r + i x_i \sim \mathcal{CN}(0, \sigma^2)$. I know that the PDFs of the magnitude $r$ of that variable and the squared magnitude $s = r^2$ are given by a Rayleigh distribution $f(r;\sigma) = \frac{x}{\sigma^2} e^{-x^2/(2\sigma^2)}$ and exponential distribution $f(s,\s...
I have come across a number of papers that write "naive Bays" instead of "naive Bayes". Are these different algorithms or just a popular typo?
A recent CNN/ORC national telephone poll of US citizens for presidential elections has resulted in the following propotion estimates $\hat{p}$ of votes by likely voters for Clinton (C), Trump (T), and other candidates: $\hat{p}_C=.43$, $\hat{p}_T=.45$, $\hat{p}_{other}=.12$, where sample size was $n=886$. How should we...
I encountered a putative contradiction. Assume we have two 2-dim. Gaussian variables $z_1 = (x_1, y_1)$ and $z_2 = (x_2, y_2)$ with all components being independent, normal distributed variables: $x_1,y_1= N(0,\sigma_1)$ and $x_2,y_2= N(0,\sigma_2)$. Now, I want to calculate the difference of the entropies of the vecto...
I have a data set where each row represents an individual and their respective measure of pharmacological reaction (protein level) in addition to their epidemiologic characteristics (e.g. ethnicity, age, smoking status) . I would like to statistically test if there are any significant differences in pharmacological re...
I'm working with a data set of automated radio-telemetry recordings from birds and other animals. I need to match time-stamped records from multiple sources to their nearest neighbor and I'm looking for some suggestions on how to proceed. We have a system of towers that can record the signal strength from a transmitter...
In Calvet et al., "Robust Filtering" (JASA, 2015), the authors obtain (pseudo?) maximum likelihood estimates of the parameters of a time series model of the trading volume of a futures contract. The model is specified by $$V_t = e^{x_t+\epsilon_t}, \epsilon \sim \mathcal{N}(-\sigma^2_y/2,\sigma^2_y);$$ $$x_t = a + bx_{...
During the research for my thesis I came across this pattern several times, it looks to me as an inverse-gamma pattern but I am not sure if I can claim that this is a pattern afterall. Let me show you some screenshots. --Edit-- I cannot disclose too much about those data points, but i can answer most of the questions i...
Consider two samples ${(x_i)}_{i=1}^M$ and ${(y_i)}_{i=1}^N$, where $M = N$, respectively of two sequence of independent but not identically distributed random variables $(X_i)_{i=1}^M$ and $(Y_i)_{i=1}^M$, but the samples are paired in the sense that $X_i$ is not independent from $Y_i$. I would like to know whether t...