instruction
stringlengths
9
38.7k
Apologies for what I think will be a simple question - it has been some years since I've take statistics. I run a business and we are attempting to determine the number of days required to reach a statistical sig. result for an A/B test regarding advertising spend. We plan to shut-off catalog spend entirely for a port...
In R the default contrasts used for ordered factors is Polynomial contrasts. However, this link says: This type of coding system should be used only with an ordinal variable in which the levels are equally spaced. In real life, we often have ordered factors, such as income low medium high, education, high school, bac...
I am running k NN on a very small data set for binary classification. Each class has 100 samples. I am getting the best performances for $k=1$ and $k=3$. Can I deduce information about my data set from k NN performing very well for small values of $k$?
I tried using sum of distance from the center to every point. It did not perform well. Basically if I was given a part of either of these clusters, using this measure I want to be able to determine to which cluster it might belong. Is there any other measure I can use for determining the sparsity of the cluster?
I have conducted a survey regarding the age range of both customers and non-customers of a particular restaurant. The results can be seen below: | 25 | 26-40 | 42-65 | 65+ | Total Customers | 17 | 79 | 68 | 10 | 174 Non Customers | 21 | 41 | 65 | 17 | 1...
I have measured $x_i$, $i=1\ldots N$ with independent uncertainties $\sigma_i$. I have calculated the weighted mean $\bar x$ with $\bar x = \dfrac{\sum_i \dfrac{1}{\sigma_i} x_i }{ \sum_i \dfrac{1}{\sigma_i} }.$ What is the uncertainty of $\bar x$?
I keep seeing this in my econometrics book. "The t-statistic is -1.06 which is not significant at even the x% level against the two-sided alternative". This happens at exercises for which I have to do the calculations by hand. How can I find the p-value by hand. My idea is that if I have t-stat of -1.06 I go in the z-t...
Good evening everyone. Ill get to the point straight away. For my master thesis I've set out three different questionnaires to check which one provided the most valuable explanation of a dependent variable. Each respondent only received one type of questionnaire. I now got three datasets with an Y-variable and dummies ...
I have that $\mathbf{x}_{i}=(x_{i1},\ldots,x_{ip})' \sim N_{p}(0,V)$ and I'm interesting in the variance of: $$ S = \sum_{i=1}^{n} \mathbf{x}_{i}\mathbf{x}_{i}' $$ for the case when the vectors are correlated. In my case: $\operatorname{Cov}(\mathbf{x}_{i},\mathbf{x}_{j})= - \frac{V}{n-1}$. I now that: $$ \operatornam...
I have some non parametric data and my supervisor wants me to use bar plots to visualise it. He said because I'm using the median, that my error bars should be the 1st and 3rd quartiles....I get that and have done it....my issue is how to report ithat in the figure ledgend....do I just report it as I would for a box ...
Given a set of events and their probability of occuring, where they all add to 1. Edit: the set of events can be of any size, the example below is only A and B with 50/50 probabilities for simplicity of example. Such as A=0.5 and B=0.5. Given a group of events, where order doesn't matter: Group 1: AAABBB Group 2: AAAAA...
My VAR-model contains 8 variables and 12 lags (lags determined by the information criteria), and the frequency of the variables is monthly (140 observations). When i am analyzing the irf function, the graphs show movement of the response variables from the first period. My dilemma is from theoretical perspective: doe...
I'm wondering how to explain changes in production/performance metrics quarter to quarter. In the example below, one can see that the average processing time for "widgets" has decreased substantially over two years. However, the last two quarters show a processing increase of 17%. Given the long term trend, this rea...
I am analyzing a VAR model with 8 variables and 12 lags. When analyzing Granger causality test - it seems there is no relationship between some of the key variables, monetary policy rate and loan rate. On the other hand, when analyzing the decomposition of the forecast error variance, the results are that monetary pol...
This is probably a basic question but I will ask it anyway b/c Im stuck. I do bird research and I have bird density estimates for thousands of sampled patches along with the associated variance. To estimate the total population size of all my sample patches I need to multiply the bird density of each patch times the ar...
The R reference is just for clarity, the question is more of stats theory. I have the following codes to set up the log-likelihood scobit function: LLscobit <- function(theta, y, X) { beta <- theta[1:ncol(X)] alpha <- theta[ncol(X)+1] mu <- X %*% beta alpha <- exp(alpha) p <- 1/((1+exp(-mu))^alpha) ll ...
MA model can for example take the form: $$Y_t = \beta\epsilon_{t-1} + \epsilon_t.$$ Now, to estimate $\beta$ we need to find out $\epsilon_t$. That can be found from the AR($\infty)$ representation: $$\epsilon_t = Y_t+ \sum_{i=1}^k(-\beta^i)Y_{t-i}.$$ Ideally $k$ would be infinite, but that is not possible so some $k$ ...
Let's say you want to use cross-validation to get the best value for a hyperparameter in a neural network. The network has weights as well, all of which must be learned, but it's impractical to cross-validate the values of the parameters (there are too many). Let's say the hyperparameter of interest is the number of un...
In an abstract sense, this is my experiment: Participants get 10 trials, half with stimulus type A, half with stimulus type B. They then generate responses (the number of which is unconstrained and can vary from trial to trial). (1) These generated responses can belong to one of seven categories. I want to know if ge...
In my model I include the variables deposits, first at levels but after I transform them to growth rates, using $DGR=\frac{DL_2-DL_1}{DL_1}$. I have also included the exchange rate, which I have log-transformed using logarithm. Is this logic presentation of the variables? What does the log-transformed exchanged rate p...
I've been trying to implement the iman-conover method in python so I could generate correlated random numbers from distributions other than normal (I use a normal & uniform in my example below). I started by following this blog and realized that I preferred the explanation/walk through at Howard Rudd's site even thoug...
For a side project I am trying to determine if users in a dataset are either "binge" users or not. I have a dataset of user log data, where each row is a user event. Right now my algorithm is somewhat hackneyed but gets the job done. First, I calculate the time between events. I then label those time deltas as either ...
In classical statistics, confounding variable is a critical concept since it can distort our view about input variables and outcome variable's relationship. Many forms of control and adjustment are sought in statistics to eliminate, avoid or minimize the effect of confounding. For example, expected confounding variable...
When I run a dataset using Support Vector Machines(SVM) and I am use both Polynomial and Linear Kernels. The performance I obtain is different, so I was wondering if there is any information I can obtain about the data from how it performs on each kernel. Or phrased in a different way, what kind of data tends to perfor...
The activation functions I have seen in practice are either sigmoid or tanh. Why isn't step function used? What is bad about using a step function in an activation function for neural networks? What are the effects of using step function? In what ways are sigmoid/tanh superior over step?
I usually see sigmoid or tanh being used as activation in neural networks. Why not linear slope given that linearity is simpler mathematically?
I have a vector of size nxp as follows V2 V3 V4 V5 1.11 2.569 3.58 0.760 1.19 2.928 3.75 0.821 1.09 2.865 3.93 0.928 1.25 3.844 3.94 1.009 1.11 3.027 3.60 0.766 1.08 2.336 3.51 0.726 1.11 3.211 3.98 1.209 1.16 3.037 3.62 0.750 tmp <- structure(list(V2 = c(1.11, 1.19, 1.09, 1.25, 1.11, 1.08, 1....
In what situations should we use t-SNE (apart from data visualization)? T-SNE is used for dimensionality reduction. The answer to this question suggests that t-SNE should be used only for visualization and that we should not use it for clustering. Then what is the good use for t-SNE?
For my research I would need to find a measurement that can quantify the amount of information flows among two adjacent nodes in a graph in order to see how similar two nodes to each other. in other words, what if nodes A and B are two adjacent nodes and nodes A and C are also two adjacent nodes, but I would like to se...
What is the meaning of robustness in machine learning? What is the relationship between robust and bias/variance?
Background: I'm very new to Bayesian. I have an effect size similar to R SQUARE ($R^2$) in the regression context. That is, this effect size goes from 0 to 1 (i.e., 0 is taken as the null effect, and 1 as the perfect upper limit). Let's assume that, a $Beta$ prior e.g., $Beta(x, ~\alpha = 2, ~\beta = 5)$ would make a r...
What is the range of sample sizes that can be called "reasonable" or "reasonable for real world calculation" as per graduate level statistics/applied statistics courses in US? I have seen questions like this a lot in my online tutoring career and I thought there might be some rule of thumb because they never give any ...
What is the impact of log concave density for light tailed distribution? How it could be substantiated with real time example? Most of the books and research papers highlights that a distribution with a log-concave density f is necessarily light-tailed. In contrast, f is log-convex for heavy tails . What is the neces...
I want to know after running K-means algorithm on a data set of say 10 variables and getting optimal clusters through Elbow curve--how do I to evaluate the goodness of these clusters (I mean apart from visual review), how do I say quantitatively that these are decently spaced out clusters? Since algorithm will anyway f...
I would like to approximate a arbitrary covariance matrix using a kernel. In hear kernel can only be summation or multiplication of each kernel (rbf, linear ,periodic, constant). I don't want to use like a spectral mixture kernel. Any help or reference please?
I have 50 years of rainfall data and it is categorised based on intensity over a region (eg:1-10mm/day, 11-20mm/day ect.). I want to test the trends in the frequencies of each category. Is Mann-Kendall trend test appropriate for testing trends for this kind of data or is there any better option available?
I have a linear regression model: $Y~X_1+X_2+X_3+X_4+X_5+X_6+X_7+X_8+X_9$ and I need to create a function that find all possible models (e.g. $Y = X_1+X_2+X_3+X_4$ $Y = X_2+X_3+X_4$ $Y = X_1+X_3+X_4+X_5+X_6$ etc) and then calculates each model's DIC values. Can someone help me since I'm not experienced at programmi...
I have a product categories tree with names like apparel, jeans, beauty & wellness etc. I need to 'match' external categories with this category tree. For example, I'd need to match: lenses color to lens colour. I currently use a fuzzy string matching approach (using python and FuzzyWuzzy), and when there is no matc...
I want to identify the effect of a feature on a number of events. Each observation has >= 0 events and is assigned to one group, A or B. Each observation was assigned to a group by random sampling, and observations in group A were exposed to a treatment that group B was not exposed to. I have a very large amount of obs...
In "Alternatives to the Median Absolute Deviation" (Rousseeuw and Croux, J. Amer. Statistical Assoc, 88(424), 1993, pp.1273–1283), the authors described an estimator of SD better than median absolute deviation (MAD), $S_n$. In equation 2.4, the calculation of Fisher-consistency factor $c$ is described for a model dist...
I am interested in evaluating estimated principal components. The components are estimated from a sample and I want to evaluate how good my estimated principal components are. Are there any commonly used approaches for this? I have been trying to find some literature regarding this issue with little success. I was thin...
I am struggling with paired contrasts of linear models. I want to test for the differences of differences, and I am not sure if I have to use my original model or the interaction model to build the matrix. I thought it should be the same, but my results are (slighlty) different. My data: I want to test the influence of...
I am building a machine learning model to attempt to predict the winner of a sports match based on historical statistics of the two teams. My model (a neural network) appears to get about 70% accuracy on test data which was better than I expected. However there are some weird things going on with the accuracy and loss ...
Imagine I am limited to a certain amount of training samples to train a classifier. I am wondering if there is a measure to tell how informative one sample (or a collection of a few samples) of the large data set is compared to the whole data set. Such that you can rate different collections of samples. I am trying to ...
I have data which is not normally distributed. Each participant ranked six actions in order of preference (so this is ordinal data right?) I want to see whether there is a significant difference in their preferences depending on the group they are in. As there are more than three groups, I believe that I could conduct ...
I am reading a paper about attribution modeling Three Essays based on Clickstream Data: Analyzing, Understanding and Managing Online Customer Behavior which talks about a way to calculate attribution using Markov models. An executive summary can be found here. The authors say they conducted an evaluation of the method ...
I would appreciate it if someone could help me answer this. I recently carried a logistic regression model using the following basic formula: y ~ x + factor1 + factor2 My supervisor suggested it would be good to carry out a likelihood ratio test, comparing the above model output to the output from: y ~ factor1 + factor...
I have a time series which indicates a certain demand over time. In my project I detect anomalies in this time series by applying Robust Principal Component Analysis (RPCA) which gives my something like a "baseline demand" (low rank matrix), "sparse demand" (sparse matrix which gives first hints about outliers) and the...
I have already posted my problem in stackoverflow, I am not sure if this might be problematic, and I am not sure, if the post is shown in both communities. If so I will delete. I am trying to apply principal component analysis, to reduce the dimensions of my data. 200x146 , 200 observations(samples) with 146 features(d...
I'm looking for the most appropriate way to to conduct multiple planned comparisons of frequencies. I conducted an experiment in which participants could come from one of two groups, 'Group A' and 'Group B'. I can further divide participants in each group by Sex (Male,Female) and one of three age groups (18 to 34, 34 t...
I am analysing my data using GEE in SPSS and would like to ask you a question regarding GEE and ordinal data. My study dataset includes ordinal data (a 5-point scale ranging from 1 highly unfamiliar to 5 highly familiar). I’ve run a GEE and chose an ‘ordinal logistic’ model but it’s not possible to include ‘EM means’ ...
At time T0: A linear model is deployed to predict outcome Y as a function of X with equation Y = m1*x + c1 At time T1: The underlying process drifts to a new mean, resulting in consistently positive errors, i.e the intercept c1 is not equal to the expected mean in the new conditions. Correcting c1 to c2 yields errors t...
Is it for example feasible to hand a query image of my dog "Dave" to a CNN, and then use the CNN to find all images of "Dave" in a database of dog images? If so, how would one do this? If not, why not?
I need to predict future 1 or 2 days energy consumption based on previous data: I have data related to daily energy consumption and various HOURLY data related to temperature (temperature, relative temperature, wind speed, dew point, atmospheric pressure). In SPSS or Excel or R, what analysis should I make? Could you, ...
In the documentation (https://google.github.io/CausalImpact/CausalImpact.html) for CasualImpact there is an example of setting pre and post periods of the treatment: pre.period <- as.Date(c("2014-01-01", "2014-03-11")) post.period <- as.Date(c("2014-03-12", "2014-04-10")) Can I use a staggered vector (or similar) seri...
So I have a regression model with a couple of quantitative variables and several categorical variables. Should I just focus first on seeing if the quantitative variables are significant predictors for the dependent variable by using the summary(..) command and looking at the p-value, and, after that, use an ANOVA compa...
I am comparing the p-Erk intensity of wild type (n=3) and mutant (n=3) group around the PSPB region in the developing mouse brain. I have collected intensity data throughout a line drawn across the area of interest, I have made the X axis into 12 bins, each bin is the sum of the intensity within the bin. The control an...
Suppose I have a probability distribution $p_\theta$ on $\Bbb R^n$ dependant on some parameters $\theta$. A natural problem is to evaluate the derivative of some expectation by the parameters: $$d_\theta\Bbb E_{p_\theta}[f]=d_\theta\int d^nx\, f(x)p_\theta(x)=\int d^nx\, f(x)\frac{d_\theta p_\theta(x)}{p_\theta(x)}p_\t...
The quadratic equation $x^2 -ax+ b = 0$ is known to have two real roots, $X_1$ and $X_2$ $(X_1 > X_2)$ but the coefficient $b$ is a positive unknown and can be assumed to have a uniform distribution in the permissible range of variation. Then what is the expected value of $X_1$. I found that the roots have terms...
I have a dataset. Say $10$ observations and $3$ variables: obs A B C 1 0 0 1 2 0 1 0 3 1 0 1 4 1 1 0 5 1 0 1 6 1 0 0 7 1 1 0 8 0 0 1 9 0 1 1 10 0 1 1 Say that is $10$ customers who have bought (1) or not (0) in each category A, B, C. There are ...
Suppose there are three complimentary events well, sick, dead. At anytime, if you are not sick nor dead, you are well. From literature we know the rate of sick is 123 / 100,000 per year, and rate of dead is 456 / 100,000 per year. What will be the probabilities of being sick and dead once in 5 years time respectively?...
I am interested in understanding the different options for gauging relative importance of variables in the results of a linear model. One way I've done this is multiplying the raw variable coefficients by the standard deviation of the variable. I realize that there is no reason why a 1 SE change in one variable shoul...
So I'm super confused. Looking online for example:here or here or here or in any other website I could find ANOVA is " used to determine whether there are any statistically significant differences between the means of three or more independent (unrelated) groups" or "are useful for comparing (testing) three or more mea...
I have measurements of some function $f(l)$ at many values of $l$. However, $f(l_i)$ is covariate with surrounding values of $l$, a relationship which is described by a gaussian peak of some non-constant width $\sigma(l)$. I'd like to use this knowledge to generate a covariance matrix $K_{l,l^\prime}$ that describes po...
I've come across code to calculate a Dice coefficient in imaging segmentation, in which a "smoothing factor" was added to the formula, as below (pseudo-code): sf = 1 Dice = [2 (A * B) + sf] / [(A + B) + sf] What would be the purpose of this and its effect on the output of Dice coefficient?
A common approach to sales force call planning analysis is Decile Responsiveness. Here's an outline: Collect two year's of account level sales data (e.g. 2015 and 2016) and one year of sales force call data (e.g. 2016) The accounts are put into deciles based on 2016 sales (decile 10 being the accounts with the highes...
Let's say I have data on gene expression levels that were measured at multiple times during the day and night in various participants, e.g. in each of the 12 participants, the gene expression was measured every 2 hours, giving me 144 data points. Does it make sense to calculate the z-score per participants and subsequ...
Given a compact feature space, I want to partition the space according to some classification. The first method that comes to mind is to use SVMs. For the classification I have in mind, the space partitioning is very neat; points that are close together usually have the same class label. The only miss-classifications i...
I understand that if distance correlation is 1, then it's statistically dependent but independent if 0. But if distance correlation turns out to be about, say, 0.65 or 0.5 what does that mean in general?
I am trying to compare two versions of a binomal model on the number of successful putts. My data are: x n y 2 1443 1346 3 694 577 4 455 337 5 353 208 6 272 149 7 256 136 8 240 111 9 217 69 10 200 67 11 237 75 12 202 52 13 192 46 14 174 54 15 167 28 16 201 27 17 195 31 18 191 33 19 147 20 20 152 24 where x = distance,...
Motivation In the context of post-model-selection inference, Leeb & Pötscher (2005) write: Although it has long been known that uniformity (at least locally) w.r.t. the parameters is an important issue in asymptotic analysis, this lesson has often been forgotten in the daily practice of econometric and statistical the...
I think I get the general idea of both VI and MCMC including the various flavors of MCMC like Gibbs sampling, Metropolis Hastings etc. This paper provides a wonderful exposition of both methods. I have the following questions: If I wish to do Bayesian inference, why would I choose one method over the other? What are t...
I'm using the standard formula for the confidence interval for standard deviation: SQRT(((N-1)*s^2)/(CHISQ.INV((1-Confidence)/2, N-1))) By mistake I entered a very low confidence level and I noticed that the resulting interval did not include the calculated standard deviation. This happens when the confidence is suffi...
I'm learning about sampling statistics and I have a question that doesn't seem like it has been addressed in my readings, which makes me wonder if I have a core confusion. Suppose that you have model that is supposed to model real-life data. You take a sample of that model, and compare it to the observed data. You want...
I have a question regarding the acceptance rate of MCMC sampling (I am using an implementation of the Goodman and Weare 2010 algorithm) in the special case that the output of my model has a considerable amount of randomness / noise. Specifically, the model consists in a variant of a Wiener process for which no analytic...
So I want to compare my full model with my reduced model but I am having some trouble getting my head around the hypothesis' when performing the ANOVA using R. Is the following correct: ANOVA(reduced model, full model) Null: Reduced model is as good as full model Alt: Full model is significantly better p < 0.05 => c...
I seem to misunderstand the calculation process of posterior predictive p-values. Let's say I have dataset of concentration of 400 different proteins measured in 9 rats. So: $x_{pr}$ for $r=1...9, p=1...400$ The way that I understand posterior predictive p-values should be calculated is: 1) you run your MCMC chain for...
I've encountered with a random processes example and could not solve it properly. Could anyone help me? "Suppose that x(t) is a Poisson process such that E{x(9)}=6. What is the mean and variance of x(8)? We know that for Poisson process E{x(t)}=λt I thought since x(9)=6 λ=2/3. So, E{x(8)}= 16/3. But answer key says it ...
I am looking for an R function to perform a meta-analysis on areas under the curve (AUCs) of a diagnostic model. There is a model, which is validated in 5 other papers and each report an AUC with 95-percent confidence interval. How can I pool these AUCs into a single estimate by using meta-analysis?
I'm working on a project for scientific publication (in the social sciences) in which I am structuring my manuscript with a Study 1, Study 2, and so on format. Basically, I have a compelling finding with one dataset which itself in my field is probably sufficient for a publication. However, I know that my colleagues wo...
Context Stimuli: 2 different designs (A, B) Outcome: task success (binary y/n) n = 100 Between-subjects (50 Design A; 50 design B) Interpreting the proportions suggests there is no real difference in success b/t designs Error bars are largely overlapping. Design A has an 80% success rate Design B has an 75% succes...
The problem is: For a pair of random variable $(X,Y)$, where $X \in \mathbb{R}^p$, $Y \in \mathbb{R}^q$, write $\Sigma_{XX}=var(X)$, $\Sigma_{YY}=var(Y)$, $\Sigma_{YX}=cov(Y,X)$. Define $(\alpha^*, \beta^*)=$ argmax $\alpha^T\Sigma_{YX}\beta$ s.t. $\alpha^T\Sigma_{YY}\alpha=1$, $\beta^T\Sigma_{XX}\beta=1$. Assume tha...
I read a paper reporting an AUC (area under the curve) of 0.72 with a 95% confidence interval from 0.68 to 0.74. How can I calculate the variance of this AUC (I don't have the original data set, just the AUC and confidence interval)? In another paper I only have a reported AUC (=0.65) but no confidence interval, althou...
I estimated a couple of GARCH models on the basis of of different estimators for a given sample of data. Now I have two more data sets, that I want to use to evaluate which of these estimated models gives me the best forecasting accuracy. For the realized volatility I use the Garman and Klass estimator. Now my questi...
Wikipedia here says "the bigger ESS (or RegSS, SSR, etc), the better the estimated model performs". Surely this is wrong. ESS is the sum of the squared distances between the fitted values and the sample mean. $$ESS = \sum (\hat{y}_i-\bar{y})^2$$Surely the smaller ESS is, the closer the fitted values are to the sample ...
This is according to the Ljung-Box $Q$ statistic of residuals squared and ARCH-LM test. Both suggest there are ARCH effects remaining after lag 1 even after I have estimated my GARCH (1,1) model. I have no AR or MA terms in my conditional mean specification, just a constant, and all autocorrelation has been removed as ...
I only get one value at a time in the system that I am developing. However whenever I get my first value I should already be able to calculate a variance. Every time I get a new value I should recalculate the variance. One important note is that I can't save any previous values, I should thus be able to calculate varia...
Suppose I have two time series $x_t$ and $y_t$ for times $t \in T$, normalized such that each time series, as well as the set of times, has mean $0$ and variance $1$. Let $r_x$, $r_y$, $r_{xy}$ be the least-squares correlation coefficients of $x_t$, $y_t$, and $x_t y_t$ against time, so the best-fit lines of $x_t$ and ...
Suppose that I know the conditional density $$ f_{X\lvert Z}(x\lvert Z=z) $$ It is the same as knowing $$ f_{X\lvert Y}(x\lvert Y = y) $$ if I assume that $Z=g(Y)$? Let say I have two continuous random variables $X\in A$ and $Y\in B$. They could be vectors or matrices, but they have the same dimensions $\dim(A)=\dim(B)...
I'm using a GNB algorithm. As to my knowledge it should be insensitive to feature scaling. However, when I standardize (z-score) or normalize (min-max scaling) those of my features that have a very high range, its performance boosts by 10 - 15%. How can this be? I'm using the sklearn implementation.
Background: I have a distribution of intramolecular distances. I want to fit this distribution to multiple Gaussian functions, but I don't know how many. I am going to use the Akaike information criterion to evaluate the quality of e.g. a 3-Gaussian model vs a 4-Gaussian model, but for that I need the maximum value of ...
Is it possible to have a point estimate outside of confidence interval? Could anyone give me an example?
I'm doing clustering on data with 10 dimensional data. I recently had to revaluate my original cluster analysis because I found (by accident) that some of the variables are closely correlated. I assume that using any kind of linear distance measure, such as Euclidean, with correlated variables essentially adds increasi...
I have a pet project to reproduce some common clustering in theano in order to improve my understanding for future projects. I was wondering if anyone has ever used nested theano scans on shared variables to update k means clusters and each nodes assigned cluster. I have a first attempt (listed below) but it isn't upda...
I'm wondering how I can calculate the power function of the test statistic $$T_n=\frac{1}{n_1(n_1-1)}\frac{1}{n_2(n_2-1)}\sum_{k=1}^p \underset{i\not=j}{\sum^{n_1}\sum^{n_1}} \underset{s\not=t}{\sum^{n_2}\sum^{n_2}}\frac{(X_{1ik}-X_{2sk})(X_{1jk}-X_{2tk})}{\hat{\sigma}^2_{1k(i,j)}+\gamma\hat{\sigma}^2_{2k(s,t)}}$$ ...
I am having trouble finding a resource online that derives the expected Fisher's Information Matrix for the uni-variate Student's t-distribution. Does anyone know of such a resource? In absence of any existing resource that derives the expected Fisher's information matrix for the t-distribution, I am trying to derive ...
I can't seem to figure this one out. There are 53 cards in this deck, 1 joker that can assume any rank, choose from 7 cards. This is what I got: $$\binom{9}{1}\binom{4}{1}\binom{5}{4}\binom{46}{2} = 186,300$$ I multiplied 9 by 4 to get the amount of five card straights. I realized the joker can only assume the rank o...
I would like to get your opinion on the following topic: I am comparing the behaviour of Gaussian and Student-t Copulas. I employ the follwing procedure: Simulate N=100,000 samples from a Student Copula with 3 DoF, Student Copula with 100 DoF and a Gaussian Copula.The dimension of the copulas is 3. I then transform t...
I am trying to understand the negative binomial distribution(also called gamma-Poisson distribution. What is the difference of it with the Poisson distribution anyway?), but it looks kind of similar with the binomial distribution that we study in basic statistics class. What is the basic difference between these two?
I am reading a bit about mixed models but I am unsure over the terms used and quite how they go together. Pinheiro, on pg 62 of his book 'Mixed-effects models in S and S-Plus', describes the likelihood function. The first term of the second equation is described as the conditional density of $\mathbf{y_i}$, and the ...