instruction
stringlengths
9
38.7k
I have a sample of 2000 projects randomly extracted from a population of 10,000,000 following an exponential distribution. From this sample I would like to check if a statistical dependency exists between the number of lines of code and the number of users. Instead of comparing these two features with Spearman's rank c...
I have run into a problem that must be pretty simple, but I keep getting snagged somewhere. I have an algorithm that returns a sample and the logarithm of the sample weight (which get themselves pretty large, residing in the range 1e2 - 1e4 for typical applications). Now, to take the sample weighted mean, one can use t...
I am trying to understand some data relating the likelihood of a positive stock return following a certain signal. The frequency of positive returns differ across datasets (over a particular time period) some stocks have more positive returns than negative returns, while others have more negative returns than positive...
I am playing Warlight online (something like Risk), and my goal is to create a bot which plays against other bots. n=100 attacking troops will on average kill 60 (p=0.6) troops each turn, n=100 defending troops will on average kill 70 (p=0.7) troops each turn. They attack exactly at the same time. Binomial distributio...
I have a series of data sets. Each data set represents a measurement in 3D space relative to a global origin. I want to model the extreme values of my data. If I were to calculate the extreme radius and use that would I still expect a gumbel distribution? Alternatively I could produce a separate model for each axis if ...
I am regressing part time as a binary dependent variable (0 who dont work part time and 1 people work part time) with different parameter listed below partime – variable=1 if employee works part time, 0 otherwise age=age of respondent in years ethbg=categorical variable (1-5) indicating the ethnic background of an indi...
Let's say I have many 1-dimensional vectors of the same dimension which I want to compare to each other. What I'm really looking for is to check whether they are all very similar, or not, and to derive a score based on the overall similarity (a mean of similarities?). I don't need to try to align the vectors, I just wa...
How can you check multivariate normality, using the scores from the PCA (principal component analysis)? Or what can we expect about the scores if the data is multivariate normal distributed?
I think it is a simple question, but I got many different results and now I am not sure which test to use. I have one group and 2 different scores (higher scores means higher either positive or negative associations). I want to know whether I have differences between these variables. I need to consider that these score...
I have a data set and I want to fit a Lin-log model. Is it possible to apply the log transformation only to some of the explanatory variables or should the log transformation be applied to all of the explanatory variables?
I only have two variables and they are on the same scale. However, the variance corresponding to the first variable is approximately 0.609, whereas for the second variable is 0.154. So my question is should I standardize the observations (subtracting off the mean and dividing by the standard deviation) or leave it as i...
I was wondering if anyone knows of any work concerning markov-switching models and more precisely that changes the distribution of the error terms? I've found some literature for conditional mean, variance, and degrees of freedom but i can't find anything for different distributions. thanks.
Why are directed graphical models called Bayesian,while those undirected not? Does that mean that Bayesian analysis is involved in the directed ones, and not in those undirected?
In a graphical model, two random variables are conditional independent given their common ancestors. Can graphical models represent independence besides conditional independence?
I have 100 samples from a normal distribution with variance equal to 1, and mean equal to 0. I have selected 90 samples randomly out of the 100 and i have estimated their mean (the average of the 90 samples), based on the assumption that the variance is the same as that of the original sample. My question is, how do I ...
This is a simple hypotheses testing question between a simple null and a complex alternative. I want to test the null hypothesis $H_0 : \mu = \mu_0$ against the alternative $H_1 : \mu = \mu_0 \pm \epsilon =\mu_1$ where $\epsilon$ is a fixed number where $\mu_0+\epsilon$ and $\mu_0-\epsilon$ are both equally likely. So...
I have a very basic question regarding parameter tuning using grid search. Typically some machine learning methods have parameters that need to be tuned using grid search. For example, in the following standard formulation of SVMs: $$ \min_w\frac{1}{2}\|w\|^2 + C\sum_{i=0}^{N}{\rm{hinge\ loss}}(x_i,y_i,w) $$ We have to...
Suppose I have a logistic regression model such like this: set.seed(123) df<-data.frame( y=rbinom(100,1,0.5), x1=rnorm(100,10,2), x2=rbinom(100,20,0.6)) fit<-glm(y~x1*x2,data=df,family="binomial") coef(summary(fit)) Estimate Std. Error z value Pr(>|z|) (Intercept) 5.08314564 6.43692399 0.7896855 0...
I need a little bit of help and confirmation that I have the right idea. I have some fake data of 8 tribes; within each tribe members work hard to gain food for their own tribe. No one can speak to these tribes, but people suspect that each tribe has one of the two strategies presented below for gaining food: Members...
There are lots of machine learning toolkits nowadays, such as weka, sklearn, R libs. If we choose to use these toolkits, besides that it is convenient, sometimes we might lose control of what is really happening. For example, in some learning methods the value of features should be scaled to $[0,1]$, but there may be ...
This is a follow-up of a question that I posted previously. I'm trying to get parameter estimates from two different SAS functions (Proc REG and Proc GENMOD) to equal each other when run on the same data set. Proc REG uses OLS/WLS to estimate parameters; Proc GENMOD uses MLE. My understanding is that OLS is equal t...
Does anyone know how to graph changes in a dependent variable over time, based on changes in several independent variables (i.e., graphs for panel data regressions)?
I am looking for a good reference book for applying statistics to medical problems. I am interested in a practical book that describes concepts including statistical power, tests for comparing groups, and regression analysis in the context of medical problems.
I am Computer Science major, and new to stats, so please bear with me and point me to the right direction if what I'm asking is pretty obvious. I have a dataset, where each data point consists of M features (e.g. name, age etc. both continuous and categorical - I might bin them or something and organize them properly) ...
If one is using gradient descent to optimize over a vector space where each of the components is of a different magnitude, I know we can use a preconditioning matrix $P$ so that the update step becomes: $$x_{n+1} = x_n -\gamma_n P^{-1}\ \nabla F(x_n)$$ The obvious approach for $P$ is to make it a diagonal matrix propor...
I am a pure math grad student with little background in applied mathematics. Since last fall I have been taking classes on Casella & Berger's book, and I have finished hundreds (230+) of pages of exercise problems in the book. Right now I am at Chapter 10. However, since I have not majored in statistics or planned to...
I read a Q/A from here which is extremely nice. In the above Q/Answer the tuning parameter $λ$ was a scalar. But in my problem it is a vector $\lambda$ for a generalized ridge regression case. The degrees of freedom is a fixed integer (assumed known). I am struggling to set up an iteration search for vector $\lambda$ l...
I have data from 3 groups of algae biomass ($A$, $B$, $C$) which contain unequal sample sizes ($n_A=15$, $n_B=13$, $n_C=12$) and I would like compare if these groups are from the same population. One-way ANOVA would definitely be the way to go, however upon conducting normality tests on my data, heteroskedascity seems ...
I am using a linear-log model to test whether overseas development assistance and remittances positively affect FDI in cases of good governance and financial market development. Let's say I want to interact the log of net official development assistance received (ODA) with governance. Governance is estimated as a score...
I have 5 quantitative predictor variables in my logit model, and when I use the cor function in R on those 5 variables, I see that $x_{1}$ and $x_{2}$ have correlation coefficient $r_{12}=0.718$ and $x_{3}$ and $x_{4}$ have $r_{34}=0.654$. The VIF values are all less than or equal to 2. So does this suggest that there'...
I want to use Viterbi algorithm, to decode an HMM sequence, but very few observations are missing in some of the steps or outliers. The hidden states in these steps are assumed to be the same as their previous states (or their adjacent states). Can anyone tell me how can I set the emission probability in these steps. ...
I have a survey of 20 questions; answers are given on the 5-point Likert scale. Goal: to understand whether the answer on the first question affects answers on other questions. Normally speaking I would be compiling a contingency table for "the first question vs another question" and running the chi-squared test. How...
I was wondering what is the best way to determine the effect of each random parameter on the result obtained from a Monte Carlo Simulation. I realise I have asked a similar question here, but this time I am making this question in a more general manner as I didn't get any answers previously. Background: I'm essentiall...
Define a generalised Poisson process as an arrival process that begins at time 0 and that satisfies: The independence property: the number of arrivals during two non-overlapping intervals are independent. Small interval probabilities: \begin{align*} P(X_{t+\varepsilon} - X_t \ge 2) &= o(\varepsilon) \\ > P(X_{t+\...
Survival times are often right censored and left truncated. From my experience, it does not seem like OpenBUGS allows for both. Truncation is denoted as T( , ) and censoring as C( ,). For instance, a censored observation known to lie above 10 days, but cannot have been observed below 2 days (left truncation) seem like ...
Is it possible to detect a periodic pattern in a time series using discrete Wavelet Transform? Is there any package in R to do this job?
Let $X_1,X_2,\dots$ be a sequence of random variables from a continuous type distribution and $m$ and $n$ be two integers such that $m<n$, and $2\le n-m$. How can I show the probability that the third-order statistic of $X_1,\ldots,X_m$ is equal to the fifth-order statistic of $X_1,\dots,X_n$ is $6\cdot\displaystyle\fr...
I got the following exercise where i have to understand the steps theres are done: Since $z_T \sim N(0,T)$: $$\text{Prob}((\mu-0.5\sigma^2)T+\sigma z_T>rT)$$ $$\text{Prob}(z_T>-\dfrac{(\mu-r-0.5\sigma^2)T}{\sigma})$$ $$\text{Prob}(z_T<\dfrac{(\mu-r-0.5\sigma^2)T}{\sigma})$$ Then i don't understand how i get to this: $$...
I am trying to implement logistic regression using the following algorithm: fit a simple linear model $y \sim Xb_0$ calculate $W = \frac{e^{Xb_0}}{(1+e^{Xb_0})^2}$ calculate $z = Xb_0 + y \cdot \frac{(1+e^{Xb_0})^2}{e^{Xb_0}} - (1+e^{Xb_0})$ (the square and dot product means element-wise here) calculate infomation mat...
I have the data for two leptokurtic distributions. I want to use the f-test of equality of variances but as I understand it needs to satisfy the assumption that 'the two populations are normally distributed'. Is a leptokurtic distribution still considered as normally distributed? Can I still apply an f-test? Thanks.
I am working on my thesis. My main regression model is the following: $Y=x_1*{\rm Payment}+x_2*{\rm Country}+x_3*{\rm Industry}...$ All independent variables are dummy / binary variables. In a next step I divide my sample and construct the following two regression: $Y=x_2*{\rm Country}+x_3*{\rm Industry}...$ => Here ...
Is the probability calculated by a logistic regression model (the one that is logit transformed) the fit of cumulative distribution function of successes of original data (ordered by the X variable)? EDIT: In other words - how to plot the probability distribution of the original data that you get when you fit a logisti...
I always see in papers that when they want to show how they classifiers performed, they provide ROC graph and the AUC score. Now as far as I know only the AUC tells how well the classifier performed, so what is the advantage of adding the ROC graph? What can one tell from it?
Let's say I have an explanatory variable and a response variable that represents counts. I want to see if the explanatory variable can predicts counts. I'm aware the response variable is overdispersed. What I probably should do is analyse the data with a generalised linear model using the negative binomial distribution...
The empirical Bayesian method is a new concept to me. It raises my interest, because it offers a different philosophical and methodological perspective of statistical analysis. From my limited knowledge, I am not sure if it is useful/powerful, or inferior to alternative methods, and if it is worth learning (and to wha...
If $\mu$ is a probability measure then $$\left\| f \right\|_{\infty} = \lim_{p \rightarrow \infty} \left\| f \right\|_{p}$$ where $\left\| f \right\|_{p} = \left( \int f^p d\mu\right) ^{1/p}$ and $\left\| f \right\|_{\infty}$ is the essential supremum of $f$ with respect to $\mu$. Would someone be so kind as to suggest...
When reporting results of a bootstrapped independent samples t-test, can I just report the t statistic alongside the bootstrapped p value? Or do I also need to report confidence intervals?
Can unimodal prior and unimodal sampling distributions lead to a multimodal posterior distribution? The Bayes rule tells us that $$ f(y|x) = f(x|y) f(y) / f(x). $$ which, I think, implies a unimodal prior and unimodal sampling distributions can only lead to a unimodal posterior distribution. If $y$ is multidimensional,...
If my data are non-normally distributed and I'm conducting a 2x2 ANOVA, what can I do to correct for this problem so I can report the main effect and interaction output appropriately? Only one finding is significant (one of the main effects). I've read that bootstrapping cannot be applied to a univariate ANOVA in SPS...
I have a highly imbalanced dataset. My question is how to split the dataset for training and testing? I want to have a separate training set and a separate testing set. One idea I had is just to shuffle the dataset and then take 70% for training and the rest for testing. Is that good strategy?
I want to construct two (or three) indices with two sets of variables (say around fifteen variables in each set) and then examine the causal link between these two indices. For example, to test the hypothesis that first indices affect negatively the second indices, how I can build such a model and test this hypothesis?...
I need to generate binomial distribution random numbers for my Carlo simulation (I need Bernoulli trials for a parameter). Thus far, I've used R "rbinom" function for that. However, as I understand, I can more effectively use the parameter space by utilizing a low-discrepancy sequence for generating random numbers. Is ...
I am reading A comparative analysis of biclustering algorithms for gene expression data (Eren, Kemal, et al. - 2013) When explaining the Cheng and Church method, it says that: MSR was shown to be successful at finding constant biclusters, constant row and column biclusters, and shift biclusters. I searched a lot but ...
I have a dataset with 1 continuous variable(y), 2 categorical variables(x1, x2) and one variable that has the unique values (0,1,5,9,13) that stand for miles (x3). I want to run a regression of y on x1, x2 and x3. I am really concerned about how to treat x3. I am guessing I can't treat it as a categorical variable be...
I am currently analyzing the relationship between Google Search frequency and the CDS market. I used a monthly backward rolling regression to determine the 30 search queries which have the biggest impact on the CDX index measured in the t-statistic for each month. In the next step I want to construct a sentiment index...
I'm not sure if this is the right place to ask these kinds of questions. I want to estimate the number of streets there are in a certain city. Any advice? How would you begin? (To be precise, I want to calculate the number of streets of Valladolid, but I suppose that in order to calculate it I must have into considerat...
Can a unimodal multivariate distribution have a multimodal marginal distribution? If all marginal distributions are unimodal, can the multivariate distribution be multimodal?
I have been told in the past that semipartial coefficients are better, but I do not remember why that is meant to be the case. A google search seems to reveal that many researchers use one or the other, and some report both. Assuming I'm going to only report one, is there a good reason to use one rather than the other,...
In Bayesian statistics I see this derivation often. Given the likelihood function $f(X|\theta)$ and the prior $f( \theta |a, b)$, the author will derive $f(X|a,b)$. The steps in between are considered trivial but I cannot derive $f(X|a,b)$ myself. Can anyone please provide some hints, perhaps how to "introduce" $\thet...
The empirical cdf is an estimate of the cdf. What kind of estimation method (such as method of moments, MLE, ...) constructs the empirical cdf? Is the empirical cdf a nonparametric estimate? Do nonparametric estimates have construction methods different from MOM, MLE, and others? For example, the empirical pmf of a fin...
I am trying to implement Linear Discriminant Analysis. I have 10 classes and each class has 3 observations at various instances: class 1 = {{a1,a2,a3} {b1,b2,b3} {c1,c2,c3}} a,b,c are 3 observations found at various instances a1,a2,a3. Class 1 is a 3*3 Matrix! Now I have to find the mean observati...
I am learning the financial time series using the book 'Analysis of financial time series' by Ruey Tsay. In chapter 2, they introduced AR(2) models. The moment equation (which is the function between the autocorrelations), is a second-order polynomials. And by solving the equation, if there is a real solution with two ...
I am trying to do PCA on a series of variables (all are positive, real numbers) using correlation and varimax rotation. All the computation is done in R. Although I got high loadings for all variables of interest, the frequency distribution of the obtained PC2 shows an exponential distribution, meaning that the extreme...
I'm having some difficulty understanding the steps in the proof in the bottom half of the second page of this paper: http://www.cs.berkeley.edu/~jordan/courses/281B-spring04/readings/blackwell-macqueen.pdf. Specifically, let: \begin{equation} m_n(A)=\frac{\alpha}{\alpha+n}\mu(A)+\frac{1}{\alpha+n}\sum_{i=1}^n{\mathbb{I...
An online module I am studying states that one should never use Pearson correlation with proportion data. Why not? Or, if it is sometimes OK or always OK, why?
This is one necessary part of a slightly larger problem, but this part has me stumped. We have that $X_1, X_2, ..., X_n\stackrel{iid}{\sim} U(0,\theta)$. What is the joint density of the first observation and the maximum order statistic: $f_{X_1,X_{(n)}}(s,t)$? Is this doable, any ideas?
I have a large dataset (tens of thousands of predictors) on which I would like to perform feature reduction with the intent of better model-building for prediction. Deep Belief Networks seem to address the problem in such a way that they produce an output that bears some resemblance to that of PCA, i.e. a series of 'vi...
I am really having trouble understanding the intuition behind autocorrelation. I mean why are we even calculating a correlation of some series with itself? Can anybody explain it in lay terms with an everyday example from life? Also, I see that while calculating the ACF, we have to take lags. But how does one know in...
At a university 60% of the students are male and 40% are female. If ten students are selected at random, What is the probability that we have exactly seven females? I tried $0.4^7\cdot0.6\cdot3 = 0.00294912$ for this. What is the probability of selecting at least seven females? I tried adding the sums of the probabil...
Concerning the Pearson chi-square test there seems to be a subtle difference between the goodness-of-fit test and the test of independence. What is confusing is that both tests seem to be calculated in a very similar way. My question: What is the real difference and how to handle that in practice? (NB: This is question...
Suppose I draw a sample from one of the two possible random variables $X$ or $Y$ where $X\sim\text{Binomial}(p,N)$ and $Y=A+B$ with $A\sim\text{Binomial}(p,M)$ and $B\sim\text{Binomial}(q,N-M)$. Assume unknown $q\geq p$, with $p$, $M$ and $N$ known. My objective is to distinguish which random variable my sample came f...
Let us say I have two sets of time varying series as shown below: a <- c(895,0,0,0,0,832,0,3084,0,434,0,0,0,0,853,0,3727,0,513,0,0,0,0,1248,0,3704,0,646,0,0,0,0,2066,0,5500,0,424,0,0,0,0,1069,0) b <- c(234,0,0,0,0,521,0,1683,0,152,0,0,0,0,740,0,3242,0,355,0,0,0,0,1117,0,3047,0,443,0,0,0,0,832,0,3213,0,326,0,0,0,0,1235,...
I am trying to implement a logistic regression function in c++, and not sure what algorithm to use. So far I have heard of these: Newton-Raphson IRLS Gradient descent Are there other algorithms available? What are their pros and cons? Is there an algorithm generally recognized as superior to the others?
In this question there was an interesting discussion concerning the Pearson goodness-of-fit test going on which was far from conclusive: Is there any statistical test that is parametric and non-parametric? Also, when you surf around you find arguments for and against its being of either sort - obviously because the lin...
I am working on a data which contain nearly 80% of zeros and positive counts as large as 7. The dataset is very large, nearly 16,000 cases. It is a health related data. I have fitted ZIP, ZINB and Hurdle models on it with five covariates, same for zero and positive counts. Later I have fitted negative binomial and Pois...
Let $X_1,\dots,X_n$ be identically but not necessary independent distributed with distribution function $F$. I'd like to estimate $F$ efficiently. In case, $X_1,\dots,X_n$ are i.i.d., we can estimate $F$ by $\hat F_n(x)=\frac1n\sum_{i=1}^n1_{\{X_i\le x\}}$. $\hat F_n$ is efficient for estimating $F$ since we can verify...
I am working on a clustering problem for which I have to manually choose the number of clusters. I have a visualization tool that helps me decide whether the clusters are good. In order to automatically select the number of clusters, I tried the following: compute the silhouette associated to several clusterings and ch...
---background info--- My company has built a Search Engine Optimisation product that can suggest monthly prioritised SEO activities (task suggestions), that will have the most benefit to the end user. For my example, let's say we are interested in 10 keywords and 4 task suggestions. The keywords of interest are: “mort...
I've been working on an assignment for a while as a part of my final qualification thesis. I'll try to describe my problem in a nutshell. There is a small cable TV channell which sells some types of goods liks blenders, mops, etc. 24/7 they are broadcasting advertisments of the different products (the range is constant...
I want to run PCA on a set of variables and then regress my dependent variable on the PCA scores. I have the following questions: Should I scale and center my variables? If yes, should I also standardize my dependent variable before running linear regression? What if I don't standardize my dependent variable?
Traditionally a weak stationary process is also called covariance stationary, but those 3 properties are exposed: $$E[Xt] = μ , \forall t$$ $$var(Xt) = \sigma^2, \forall t$$ $$cov(Xt, Xt−j) = \gamma_j, \forall t$$ that are respectively mean, variance and covariance stationarity. We can merge 2 and 3 by extending to $j=...
I want to test if three types of learning mehods have different effects on the progression between two exams. The data was collected like this: A first exam was done with all participants. They had various level of knowledge of the subject, ranging from expert to novice. The participants were randomly separated into t...
There are 10 dependent variables and 2 groups. When I wanted to compare 10 dependent variables between two groups, I performed MANOVA. I wonder if there is a multiple comparison problem in that case. Should I have performed Bonferroni correction because of 10 dependent variables? Or is Bonferroni useless because MANOVA...
I've made a logistic regression model that includes a polynomial term to degree 2. I'm aware that logistic regression models the response variable as a non-linear function of the predictors. Does it make sense to include a polynomial term in logistic regression?
Are the two interchangeable terms? I have been reading about markov-switching models and am struggling to see the difference with HMM models.
I have a Gaussian vector with a known covariance, given by a Covariogram (covariance function). Inverting this matrix (let's say of size 5000x5000 and above) is not reasonable. Is there any known method to do estimation (or similar) where the covariance function is known but is very large and inverting it, or even stor...
I done a GLMM with the function glmer from lme4, the variable paternity is binomial (yes or no)(model <- glmer(paternity~factor1, factor 2 ..., family=binomial). My model run correctly, but after I want plot the effect. So I used the package effects. When I plot my effect, the Y-axis is numeric but I do not understand...
Say, I have sensory panel data for 30 products, which are scored by 11 panelist in 2 replicates for different traits. To fit this data,I am using model of the form: $y_{ijr} = \alpha_j + \beta_j\cdot\theta_i + error_{ijr}$ i= panelists, j= products, r= replicates In this model, I am considering multiplicative interacti...
In logistic regression, I have a variable with larger coefficient and larger p-value and another variable with smaller coefficient and smaller p-value. If use p-value then the latter one is more significant, but if calculate odds ratio, the first one is more influential. How should I interpret this? Which one is more i...
I have a set of documents that are OCR-ed and represented as a text file. I want to find out what are the documents that are talking about the same subject and maybe about the same person. I started to look if this problem has been addressed in webpages. For example, I'd like to search for all the webpages that talk a...
Im training an SVM on a dataset containing 17000 events with 30 features. as I see it, this amount of features against the dataset size should suffice by itself for avoiding overfitting. Im training an RBF kernel and I get somewhat strange results. Im pretty sure my training flow is correct, so it is not the main issu...
I would like to generalize Paul Teetor's A Better Hedge Ratio, which uses prcomp() to determine the orthogonal regression ratio between two variables. I am hoping to generalize this to multiple variables, but am having trouble finding anything in the literature. Any suggestions?
I am having difficulty turning unstandardized RMR estimates from AMOS software output in a SEM into standardized estimates to enable suitable interpretation. Can someone give me advice on where to start with this?
If you were attempting to forecast the outcome of a general knowledge quiz competition with predictors such as age, education levels, IQ etc there seems to be several obstacles to using say conditional logistic regression, or other classifications into Y=1 (100% winner) or Y=0 100% loser, even if you came second in the...
In the Albert book on Bayesian computation with R, exercise 4.8.5 (p.83), it is suggested to use $$ p(a, b) \sim (a \times b)^{-2} $$ as the non-informative prior for the Poisson/Gamma model: $$ f(y\,|\, a,b) = \frac{\Gamma(y+a)}{\Gamma(a) \times y!}\frac{b^{a}}{(b+1)^{y+a}} $$ It does work, but could anyone give me a...
I am trying to implement and learn a Dirichlet Process to cluster my data (or as machine learning people speak, estimate the density). I read a lot of paper in the topic and sort of got the idea. But I am still confused; here are a series of question, 1) What is the different between Chinese Restaurant Model and DP ? ...
I have a sample composed by 2500 count data values. I've plotted in R the corresponding histogram and ecdf. I've run the One-Sample Kolmogorov-Smirnov test to check if the distribution is either exponential or poisson, but I got negative results. Is it possible that the One-Sample Kolmogorov-Smirnov test, it's not the ...
I need some kind of multivariate distribution which has the following properties support is $x_1,$ $x_2$, ..., $x_K$ where all $x_i \in [0,1]$ Though not required it is true that elements of the support will sum to 1. $\sum x_i=1$ the parameters of the distribution can be solved for if the mode is known. the parameter...
Let $X_1,X_2,\dots ,X_n$ be a random sample from a distribution with pdf $f(x,\theta)$. Find a level $\alpha$ most powerful test of $H:\theta=\theta_0$ against $K:\theta = \theta_1$ when $$f(x,\theta)=\theta x^2I_{(\theta, \infty)}(x),\theta_0 \neq \theta_1$$ I consider $$\frac{p_1(x)}{p_0(x)}=\dfrac{\theta_1^n(\Pi x_...
I am investigating if an exponential distribution is a good fit for a large sample of data (200) I have. I have already looked at a histogram but was wanting to investigate further. I was going to use the Kolmogorov-Smirnov test and consider the p-value however I heard that if using a large sample this isnt a good idea...