instruction
stringlengths
9
38.7k
After doing some reading on CrossValidated, I understood that we can use "imputation" techniques to fill in the gaps (if they are random). But I am not clear on following questions: How many consecutive gaps may make data set invalid for forecasting? How many total gaps in data set makes it as invalid. For example I ...
I have a score of some feature, $F_1$ and $F_2$ where this score is the logarithm of probability. This score is very low and very sparse, for example i have: $F_1$ with score $-800$ $F_2$ with score $-3000$ I need to get the probability with the exponential function and make the sum of probability like this: $e^{-800} ...
I am running a binomial mixed effects logistic regression in R using glmer for a sociolinguistics project. I was asked to used deviation (effect) coding. From what I gather, in deviation coding the last level in a factor is assigned -1, because this is the level that is never compared to the other levels within that va...
I'm looking for ways to test for "cumulative advantage" effects in a longitudinal dataset (see image) I guess the data set is principally similar to this: http://www.caldercenter.org/whatis.cfm , but to be precise, the figures are weekly marked shares of a fixed selection of products. The full data set contains nearly...
When we perform experiments (on small sample sizes (usually the sample size per treatment group is about 7~8)) on two groups, we use a t-test to test for difference. However, when we perform an ANOVA (obviously for more than two groups), we use something along the lines of Bonferroni (LSD/# of pairwise comparisons) or ...
Please see this question regarding Duda, Hart, and Stork's No Free Lunch Theoremm Discussion Hi all, I was having trouble understanding the description of the NFL theorem in Duda, Hart, and Stork. My issues are the same as brought up in the reference above. I read the answer too, but I'm still having the following prob...
I have data for adherence to medicines which follows a downward linear trend for about 6 months (from 100%) and then plateaus at about 50%. Another way of describing it is by saying that adherence reaches steady state (=50%) at about 6 months after starting a medicine (http://www.ncbi.nlm.nih.gov/pubmed/12132975). I h...
I have some data with temporal measures over time. I'd like to test whether two binary variables co-occur more often than chance would predict, and I'm wondering the best (simple) way to do that. The data looks something like Time UID Variable1 Variable2 1 1 1 0 2 1 1 1...
All common treatment of PAC bounds based on Rademacher complexity assume a bounded loss function (for a self-contained treatemnt, see this handout by Schapire. However, I could not find any result for unbounded losses (with finite moments or possibly subgaussian). The only paper I know of is Cortes et al, but it is abo...
I'm fairly new to stats, so please excuse me if this problem is hopelessly elementary or misinformed. Basically, I'm wondering if you can help me understand whether I'm using the F-Test for variance correctly. I have two fairly small populations (n=15), and I'd like to employ a statistical test to determine their resp...
I have a bunch of survey responses from people all over the country. Each survey has one question: "How much do you like X?" (X isn't important here), where answers range from 0 (not at all) to 100 (a lot). I want to group the results by (for example) State. However, when I group things by State, some of these groups h...
I'm confused about the appropriate interpretation of p-values returned by the two-sample Kolmogorov-Smirnov test (ks.test) in R. In slide 23 of this presentation about non-parametric two-sample tests, the author states that when analyzing the ks.test results: ks.test(male, female) Two-sample Kolmogorov-Smirnov test da...
I'm trying to do analysis on revenue data and due to circumstances beyond my pay grade, there are large spikes in the data around the time financial reports are due, followed by corresponding low values immediately after. Is there a preferred algorithm or methodology to compensate for this and get more meaningful data?...
I have a question regarding the use of logistic/log-linear regression vs. contingency test statistics, such as chi-square. Can someone explain to me why it would ever be preferable to use test statistics over logistic (or log-linear) regression modeling?
I am writing an article which includes discussion of the MMSE estimator of the posterior predictive distribution. Since I use this term quite frequently, I was considering referring to this estimator as the prediction, however, I am thinking that the prediction connotes an estimate rather than an estimator: For the dif...
I have a data set which consists of 50 observed years for which I have date and inflow values between a river and a reservoir. The data is formatted as follows: Day Inflows 123 4356.0 I have 50 years of observed data which includes daily values for each day. The plotted data looks as follows: Ignoring the sm...
I'd like to review the results of a recent survey I conducted. I'd like to see how one set of answers may/may not have influenced another set of answers. For example: If users who answered question #1 on a 1-8 Likert scale with answers from 6-8, does this correlate to how they answered questions 2-8? Or: Users who...
So for instance here are the definitions that I get from standard text books Variable - characteristic of population or sample. ex. Price of a stock or grade on a test Data - actual observed values So for a two column report [Name | Income] the column names would be the variables and the actual observed val...
I have 15 subjects each with 200 trials & I'd like to run separate regressions for each subject. If I just run the regression on the whole dataset I am able to generate odds ratios / confidence intervals from it: acc.log = glm(response ~ phdot + sdot, data=fullerr, family="binomial") summary(acc.log) exp(acc.log$coeff...
I have created a multiple linear regression model to predict prices and about 17% of the predicted prices have come out to be negative. Is there a way to correct for this error, or does it mean that the independent variables are not good predictors? The R^2 coefficient is 0.865.
I have customer feedback data about 2-3 products from 100 customers. Number of questions are around 160. I have data in excel format. Header row contains the question and row below contains the responses from customers. Not all questions have been answered by each customer. I have to categorize the feedback as either ...
I have built a random survival forest using R package randomForestSRC. The OOB error rate is around 10%. I was wondering whether anyone had some experience in utilizing the outputs from this model for producing the "predicted future survival time"? Thanks.
All the control variables were there because they affected the dependent variables in previous studies. However in my dataset, all are insignificant and do not affect the main effects. Should I remove them all? Not sure what this means..... p.s. I tried PLS and standard regression and the results are similar.
Let $X$ and $Y$ be independent, continuous random variables. The PDF of a sum $W=X+Y$ is given by the convolution formula $$ f_{X+Y} (w) = \int_{-\infty}^{\infty} f_X(x) f_Y(w-x)\,\,dx$$ In this lecture, it is shown a more general way to use the convolution formula to get the PDF of $Z=2X-Y$. It goes as follows. If $...
Do random forest measures of variable importance (mean change of accuracy, mean change of Gini index) take the interactions into account? I think I know how we come up with the variable importance plot (by permuting each of the predictors), and it doesn't seem that random forest captures the interaction. Does anybody h...
I'm essentially trying to reproduce the dhyper function in R using !n ~ gamma(n+1). Why does this approach not work for large values of the population? # (n choose k) fastChoose <- function(parm_n, parm_k) { p1 = lgamma(parm_n+1) p2 = lgamma(parm_n - parm_k +1) p3 = lgamma(parm_k + 1) result = p1 - p2 - p3 ...
I was reading this paper Online Bounds for Bayesian algorithms and they had some derivations. I didn't get how they arrived to the conclusion I didn't get how equation 3 was derived any suggestions guys?
I am deciding which of the following two subjects to take as one elective in the coming term. Complex Analysis Theory of Partial Differential Equations Ideally I'd like to take both. However, I will have other things to do. Therefore, I want to take something that is direct relevant to statistics and probability. Any...
I'm designing an experiment which has to factors (A,B) with respectively 4 and 5 levels. Since this is quite a large amount, I figured I use a factorial design. However, it is unclear whether the treatment will work at all, at any level or factor. So I designed the following experiment: All participants perform a tes...
I have a data set that I am attempting to analyse in R and I am relatively new to the environment. My full data set contains 7 subjects (represented by Subject), that all receive 3 treatments (environmental conditions, represented by Altitude) and are measured 10 times within each treatment. Each participant received e...
We know that an $m \times m$ random matrix $\boldsymbol{A} = \boldsymbol{H} \boldsymbol{H}^H$ is a (central) real/complex Wishart matrix with $n$ degrees of freedom and covariance matrix $\boldsymbol{\Sigma}$ $(\boldsymbol{A} \sim \mathcal{W}_m (n, \boldsymbol{\Sigma}))$, if the columns of the $m \times n$ matrix $\bol...
I saw a journal article [1] saying that he constructed the following S-curve model : $$y=\exp\left({\beta_1 + \frac{\beta_2}{x}}\right) + \mathrm{residual}$$ The topic was about a global regression model. I just cant understand how did he make it. Do you guys know how? I emailed him already but I guess he would not hav...
I was working on a cox regression problem and was refering to this link: http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_phreg_sect050.htm I have few questions regarding to this: As in the example mentioned, can we feed missing values to model? Also how do we handle multicollinea...
I am trying to simulate a signal produced from a GMM of 3 mixtures. Here's MATLAB code mix1 = -0.4 + 0.01*randn(10000,1); mix2 = -5 + 0.02*randn(10000,1); mix3 = 10 + 0.1*randn(10000,1); gmm = mix1 + mix2 + mix3; [f,x] = ksdensity(gmm); plot(x,f) I expected to see 3 mixtures (i.e. peaks), instead I see just one gau...
At every step $k$, a Markov chain Monte Carlo algorithm for Bayesian inference with Gibbs sampling draws a parameter of the model to fit, $\beta_i^{(k)}$, from the conditional $Pr\left(\beta_i^{(k)}|\beta_1^{(k)},...,\beta_{i-1}^{(k)},\beta_{i+1}^{(k-1)},...,\beta_N^{(k-1)},X\right)$, where $X$ is the observed data. Do...
I have to train a convolutional network. When I visualize its conv filter matrices from a layer, many filters are quite similar, almost equal. 1) Don't you know a common way to detect couples of similar kernels? Maybe, it is somehow connected with their correlation? 2) Don't you know any good strategies to deal with su...
I am measuring the frequency of consonants in a sample lexicon of a language. The results are as follows: +-----+-----+-----+-----+----+----+-------+ | p | t | k | m | n | r | Total | +-----+-----+-----+-----+----+----+-------+ | 278 | 256 | 122 | 189 | 83 | 72 | 1000 | +-----+-----+-----+-----+----+----+---...
Im not understanding the following; suppose $y \sim N (\mu,\sigma^2)$ and we have a prior $\mu \sim N (\mu_0, \sigma^2_1)$ Then we can figure out the posterior distribution. What i dont understand is suppose $y=\mu+e$ where $e \sim N(0,\sigma^2_e)$ how do I know that $y \sim N (\mu,\sigma^2)$ i.e. how do I know that...
The following two statements produce different results. /* DV: "price" e.g., from 0 to 100 */ /* IV: "treatmentA", "treatmentB" both binary variables */ /* statement 1 */ anova price treatmentA##treatmentB /* statement 2 */ generate A_x_B = treatmentA * treatmentB anova price treatmentA treatmentB A_x_B Do the t...
Suppose you have a general regression model, which behaves like a black-box to you. All you have is a $\ \ \text{train}(X,Y) \ \ $ function, where you input your predictor matrix $X \in \mathbb R^{N\times M}$ and target vector $Y \in \mathbb R^N$, as well as a $\ \ \text{predict}(x) \ \ $ function which takes a row-vec...
I am evaluating a web search relevance feedback algorithm. The algorithm uses Bing API as source for its result sets. To evaluate the algorithm I will be conducting a user study. In the end I will have binary judgements, whether the documents are a good answer to the query. Since the web as a test collection is big, I ...
I am trying to find the standard error on the median, $\sigma_\tilde{x}$, for a sample, $X_i$, of a population whose pdf could be modelled as $\lambda e^{-\lambda x} $ if normalized. To make sure we are all on the same page. $\mu = 1/ \lambda $, $\sigma = 1 / \lambda$ and $\tilde{x} = ln(2) / \lambda$ for the pdf. Clea...
I understood that Holt Winters forecasting may results in negative values due to trending. I did reduce trending component value, but still forecast values are negative territory. Our data set will never be in negative values (like electricity data set, which never falls below ZERO). What sort of post algorithm techniq...
So I'm aware that cointegration means there is some linear combination of the set of variables that is stationary. So, if you do a regression and find stationary residuals, can you just immediately say "oh, yes these variables are cointegrated" ? Because you have then just found some linear combination that is station...
The spirit of this question comes from "Ordinary Monte Carlo", also known as "good old-fashioned Monte Carlo" Suppose I have a random variable $X$, with $$\mu := E[X]\\ \sigma^2:=Var[X] $$ Both are unknown values, because the probability distribution function of $X$ is unknown (or the computations are intractable). Eit...
Lets say I have continuous y and x variable and I run a linear regression: mdl1<-lm(y ~ x) A generalised linear model should also give me the same parameters value if I do not specify the error structure (i.e. by default it assumes that the error structure is Gaussian) mdl2<-glm(y ~ x) Both the above model should gi...
I would like to detect anomaly using exponential weighted moving average. I don't have series of data points. All I have is EMA(t-1) and the data point of the current time(t) DP(t). From these data, I can calculate the new EMA(t). The EWMA constant will be 0.85 (assuming). Now I have two EMAs={EMA(t-1) ,EMA(t)} and DP(...
I know what the z-value of a single observation is, that is explained in Wikipedia. But what is the z-value of a parameter in a glm model?
Say we have a binary classification problem that we solve with Naive Bayes. All features are categorical variables. Say we focus on a single feature that takes one of $N$ possible values. If $N$ is high, and we use a discrete distribution to encode it, the model complexity can rapidly increase (one $\theta$ per value ...
This question is from a confused novice. I have a data set with where each point is located in a 2-D space defined by two objectives (say, X and Y). I wish to identify a set of points from this space such that their distance from X AND y is minimum. What can be the most efficient / simple / targeted approach to achiev...
What if we have negative integral values for a random variable?Then is it possible to write a probability generating function for it? All definitions I have seen so far is for non negative integer values. I hope someone could assist me. Thanks
I was just wondering if anybody could help me, I'm conducting a path analysis in SPSS Amos with a binary outcome. I've specified the variable as binary using Tools>Data Recode, I've then calculated the variable estimates using MCMC. My question is: how do I know calculate overall model fit? The model is as follows, wi...
I've got a random process of positive observations. I've built a state space model (following an ARMA(1,3) structure), found the parameters that fit the process observations through log-likelihood maximization, and after simulating the obtained model I've seen that negative values occur. I really don't have any idea on...
With the standard Binomial probability distribution we consider n trials each with a probability of success p. This can be somewhat generalized to the Beta-Binomial Distribution which is effectively the same, but this time the probability of success is a random variable with a Beta Distribution. My question is: Could I...
I know that the PDF is the first derivative of the CDF for a continuous random variable, and the difference for a discrete random variable. However, I would like to know why this is, why are there two different cases for discrete and continuous?
I am investigating patterns in click-order on images. A user is asked to click on an image in 5 places (can be the same place). This sequence of 5 clicks makes up a graphical password. I am looking for patterns in the order in which users click e.g. they scan from left to right i.e. x_1 < x_2 < x_3 < x_4 < x_5 where x_...
This is a fairly simple question about raw data in Excel. I have a survey asking respondents to rate 17 questions on a rating scale from 1 to 5. The goal is for individuals who answer the survey to be anonymous. There are also demographic questions. For the sake of anonymity, we don't want someone to be able to match a...
I have a basic question regarding pattern learning, or pattern representation. Assume I have a complex pattern of this form, could you please provide me with some research directions or concepts that I can follow to learn how to represent (mathematically describe) these forms of patterns? in general the pattern does n...
what are best ways to interpolate time series? I have three data points(1980, 1990 and 2001) and I need to interpolate them. Using R na.approx doesn't seem to be what I need since the data I need to interpolate is population and it is very unlikely for it to move linearly.
Lets say that I have "y" that I want to model with linear regression. "x" and "z" are the things I'm interrested in showing folks, but I also have things that I want to adjust for, but not really show in my plot. Now, I would like to show my coefficients in a plot, but I would like to keep the things I adjusted for out...
If I'm not wrong both "quasi" and "pseudo" denote the same thing, namely the optimization under wrong distributional assumptions. Moreover I think that the terms are not restricted to the assumption of normality. Is there an experienced reader who can confirm this? Cheers!
In many econometrics model, the changes in the response variables in certain intervals are more difficult than other intervals. But I believe this is often not considered when estimating the model. For example, suppose $Y_{st}$ represents the proportion of students in a certain school $s$, passing a standardized test ...
I have a list of numbers I need to group by similarity (differences being 1 between each). For example, in a list of [198, 202, 207, 218, 219, 220], 190 would be put into a list, 202 would be put into another list, 207, into a list, and 218 219 220 into another list.
Below is a function I wrote to try and tune the $\lambda$ and $\alpha$ elastic net GLM implemented with cv.glmnet. I've noticed that the qualitative outcome (in terms of the alpha that yields the lowest prediction error score) changes depending on the random seed, and I suspect this is mainly because the random seed de...
Similar to this question: How to translate the results from lm() to an equation? in which the top voted answer said how to get the form of an equation from lm(y ~ x) and equivalently for lm(z ~ y + x) and other sums, I'm wondering: how can the equation be obtained from the form of lm(z ~ y*x)? I have: > summary(lm(log(...
As per gung's advice in Getting the equation from R's lm when using a product, I am starting a new thread for this question. I have a model $\widehat{\log z} = a + bx + cy + dxy$ for random variables $x,y,z$ and coefficients $a,b,c,d$. I now want a model for $z$ instead of $\log z$. I was going to simply do $\hat{z} = ...
Assuming it's the standard SVD (no variation of it) with $A = USV^T$, would the $A$ matrix always have positive values (0 to $\infty$)? I noticed that the $U$ and $V^T$ matrices had some negative values with the sample data I used, but I want to be sure that the $A$ matrix has only positive values so that I can choose ...
In Bayesian decision theory: Given $\omega_1$ and $\omega_2$ as two classes for classification, $P\left( \omega_1 \right)$ and $P\left( \omega_2\right)$ their prior probabilities, $x$ the feature vector representing an unknown pattern, $P\left( \omega_1 | x\right)$ and $P\left( \omega_2 | x\right)$ as posteriori probab...
i need to impute a dataset all categorical variables before doing analysis. I can just simply impute with mode of all data or a variable. I belief that better option will be to classify the subjects (observations) using some short of clustering algorithm and then use this information to impute the data. The following ...
I am fitting a lot of elastic net models, simultaneously tuning $\lambda$ and $\alpha$. I am often coming to the following conclusions: Cross-validation error is much more sensitive to changes in $\lambda$ than $\alpha$ In fact, the differences in cross-validation error are negligible between $L_1$, $L_2$, and $\alpha...
My original data has many more columns (features) than rows (users). I am trying to reduce the features of my SVD (I need all of the rows). I found one method of doing so in a book called "Machine Learning in Action" but I don't think it will work for the data I am using. The method is as follows. Define SVD as $$A = U...
Is there a solution coded in R to estimate models of the form $$ y_{igt} = \alpha_i + P_{gt} + \beta_1y_{igt-1}+ \beta_2y_{igt-2} + X_{igt}'\gamma + \epsilon_{igt} $$ ? plm offers the pgmm package, which implements the Arellano-Bond estimator, but it doesn't seem able to handle FWL-based demeaning of factors other than...
Because my event is not particularly rare, I am more interested in risk ratios than odds ratios for my current generalized linear modeling problem, which calls for regularized regression. I'm doing regularized regression with glmnet. I know that you can obtain risk ratio effects instead of odds ratio effects by fitting...
I'm studying the effect of various criminal case and court district characteristics on sentence lengths. I was planning on running xttobit in Stata because I have individual defendants/cases within federal court districts and a censored sentence length outcome. I have both an upper and lower limit. A prison sentence of...
R is good at processing data. It is an analytic turbo-ginsu. So LabVIEW is great at getting data. It plugs into anything with electrodes. MatLab has simulink. There are toolboxes for data acquisition. What does "R" have? Does it connect to hardware, or is that too "laboratory" for it? What is the "R" interface to ...
I am interested in testing how users perform on three different user interfaces. On each of the three interfaces, a person will try 12 Tasks. So each participant will do Task 1 three times, Task 2 three times, etc. So, in essence the experiment looks like a 3 x 12 (Interface x Task) within subjects design (where each p...
I have been reading Mostly Harmless Econometrics and have been won over by the virtues of splitting my instrument into groups. In particular, I have a continuous variable as an instrument representing percent and would like to split it into 3 groups (0-33%, 34-66%, 67-100%) and use dummies to indicate each group, i.e. ...
I have a question / confusion about stationary series required for modeling with ARIMA(X). I am thinking of this more in terms of inference (effect of an intervention), but would like to know if forecasting versus inference makes any difference in the response. Question: All the introductory resources I have read state...
I understand that in the dual form of the model for support vector machines, the feature vectors are expressed only as a dot product. Mapping the feature vectors to a higher dimensional space can accommodate classes that are not linearly separable in the original feature space, but calculating this mapping and working ...
I am conducting a meta-analysis and am trying to produce a forest plot displaying the mean weighted effect size with and without the outliers. I looked on so many websites and tried a lot of syntaxes, however, didn't really find anything about what I am looking for. Assume there are 10 studies in the meta-analysis. Out...
I am trying to build a multivariate control chart but I did not find any good explanation of how to do that. Starting with $x_0$ a part of the samples that are in control I compute $\mu_0$ and $\Sigma_0$ the mean and the covariance matrix. Now with new data $x_n$ I compute $d= (\bar{x}_n-\mu_0)\Sigma^{-1}(\bar{x}_n-\...
Do the pdf and the pmf and the cdf contain the same information? For me the pdf gives the whole probability to a certain point(basically the area under the probability). The pmf give the probability of a certain point. The cdf give the probability under a certain point. So to me the pdf and cdf have the same informatio...
I am planning on running the same benchmark tests (i.e. throughput, response time,..) in 3 environments: 1) a mobile device, 2) a virtual machine in VirtualBox, 3) a virtual machine on Amazon EC2. What could be the best way to define the hypothesis, Null or Alternate when considering significant differences or relation...
I have $\boldsymbol{A} = \boldsymbol{G}^H \boldsymbol{G}$ is a Wishart matrix, i.e, $\boldsymbol{G}^H \boldsymbol{G} \sim \mathcal{W}_K (M, \boldsymbol{\Lambda})$ with $\boldsymbol{\Lambda} = \mathrm{diag} (\rho_1, \cdots, \rho_K)$. ($\boldsymbol{G}$ is $M \times K$ matrix ). We know that $\boldsymbol{B} = (\boldsymbol...
The followgin formula is normally used for comparing two Pearsons $r$ correlations: Can this formula also be used to compare correlations from Spearman's $\rho$ and Cramér's $V$?
The scenario: Over a course of 10 minutes 2 security guards patrol a floor and have their movement tracked. They can either be on the left or the right side of the floor, and within each side of the floor are 10 zones. So in total there are 20 zones (left zone 1, right zone 1, left zone 2, right zone 2, left zone 3 ri...
I would like to study rare events in a finite population. Since I am unsure about which strategy is best suited, I would appreciate tips and references related to this matter, although I am well-aware it has been largely covered. I just don't really know where to begin. My problem is a political sciences one and I have...
A quick general question: In a practical setting, what's a good way to separate out, and then comment on, long term and short effects in a model? I had thought a good way to do so would be to include lagged versions, of the same variable, of varying distances, the longer distances indicating longer term effects, but I ...
I would like to know if individuals were consistent across three different days. I measured the latency of individuals for a maximum of ten minutes. Many individuals had a latency of 0 and some individuals never arrived and were therefore given a latency of 601. The data on each of the three days is very non-normally ...
I adjust the partial least squares regression for one categorical factor (2 levels – be or nottobe) with with the pls package in R. I try to use round() function in the predict values for take the decision if the result are the first or second level in my factor. Does this approach sound correct? require(pls) #Artifi...
I have observations of two random variables $S_1(t)$ and $S_2(t)$ and I'm trying to build a test to see if they are related. In other words I'm trying to test if unknown functions $F_1(t)$ and $F_2(t)$ are the same function. The parameters $r$ and $b$ are constants with $ r \geq 0$ and $n_1$ and $n_2$ are Gaussian no...
For simple linear regression, the regression coefficient is calculable directly from the variance-covariance matrix $C$, by $$ C_{d, e}\over C_{e,e} $$ where $d$ is the dependent variable's index, and $e$ is the explanatory variable's index. If one only has the covariance matrix, is it possible to calculate the coeffi...
I am trying to find the optimal estimator for the maximal expected $\Sigma X_i$ where $X_i$ is sampled from an unknown distribution which is chosen to be maximal. To clarify and simplify, there are two sets of data $Y_i$ and $Z_i$ which are drawn from similar but likely different pdf distributions $y$ and $z$. I would ...
Suppose you have an urn filled with money. You know there are $N$ total bills, and that each is either a \$1, \$10, or \$100. You draw $n$ bills without replacement from the urn, and wish to construct, say, a confidence lower bound for the total amount of money in the urn. The obvious solution is if $n$ is sufficiently...
When learning how to use a statistical model, I often create a simulation of the DGP, and run simulated data through the software to make sure I know what I'm looking at. I've done this for Proc ARIMA in SAS, and for the most part the results are expected. One thing I'm finding surprising is that if I overparamatise th...
Which (if any) heavy-tailed distributions can we compute the maximum likelihood parameters of, given some data to fit the distribution to?
I once heard that log transformation is the most popular one for right-skewed distributions in linear regression or quantile regression I would like to know is there any reason underlying this statement? Why is the log transformation suitable for a right-skewed distribution? How about a left-skewed distribution?
If $\theta|\mu \sim N(\mu,\sigma_o^2)$ and $\mu \sim N(0, \sigma_1^2)$ what is the marginalized $P(\theta)$. $\theta$ and $\mu$ both are nx1 vectors $P(\theta) = \int P(\theta|\mu)P(\mu)d\mu$ Is it $N(0,\sigma_o^2I+\sigma_1^2A)$? where A is nxn matrix with all ones?
I'm having problem understanding how big sample size is needed for a situation where there are pairs in the before/after groups but these have all multiple data points. Problem Pose a situation where you have X dart throwers. Each dart thrower have thrown $n_i$ darts for some average $m_i$ points with a "bad" dart. N...
I have counts of occurrences of two types of words (A and B) in several texts. What I would like to test is whether the frequencies of occurrence of both types of words across texts is 'correlated'. However, using Pearson's correlation is probably not correct, because my data is not continuous, and in addition the coun...