instruction
stringlengths
9
38.7k
I am trying to get from Equation (4) to (5) in Model selection through sparse maximum likelihood estimation for multivariate gaussian or binary data by Banerjee et. al [http://www.jmlr.org/papers/volume9/banerjee08a/banerjee08a.pdf][1]. The problem to derive the dual of the following problem: $$ \text{argmin}_{y} \{y'W...
Note: this question has significantly evolved, thanks to inspiring comments by Tim. Assume there is some "truth" $x\in[0,1]=Beta(1,1)$ that is signaled with some precision. I assume that the resulting posterior distribution (after receiving signal) of $x$ is $Beta(\alpha,\beta)$. To make the signal more explicit, I sha...
I've been implementing RMSprop following this helpful blog post. The post doesn't talk about weight decay, i.e. regularization. What I'm implementing is effectively a ridge penalty. The RMSprop update is defined as $$ \theta_{t+1} = \theta_t - \frac{\eta}{\sqrt{E[g^2]_t+\epsilon}}g_t $$ where $\eta$ is the learning ...
I am trying to build a linear model that can be used to make an inference. Both the dependent and independent variables are count data. Specifically, I want to know given a value of the independent variable, what is the probability of finding greater than some value n for the dependent variable. Dependent <- c(1,6,18,6...
Suppose $X_1\sim U[a,b]$ and $X_2\sim U[c,d]$ with $a<b<c<d$ and suppose they are independent. I guess that the sum must be a uniform but I don't know how to show it [EDIT: I was wrong]. I would like to show it using convolution (although I'm curious for other solutions as well). I have studied the proof of https://mat...
when applying an (augmented) dickey fuller test on nearly non-stationary series (i.e. y_t = 0.97*y_{t-1} + e_t), the test should - from what I have read - perform quite poorly. Yet when I apply this test to sufficiently long series (1000 time periods), i get very accurate results. When I perform the test on shorter ser...
Suppose I have a line on which i have points in non-decreasing order. My intuition tells me that if I want to minimize the squared mean error on some subset of 3 (or other number) points, I would like to take 3 subsequent points, or rather check all 3-subsets of subsequent numbers on the line to find one with lowest sq...
I have been looking for a fast and efficient implementation of finding natural neighbors of a given point (from a set of points in a 2D plane) particularly preferred if written in python. So far, what I have been doing is to use scipy.spatial.Delaunay to find the Delaunay triangulation simplices and creating the adjace...
In the R function, rnbinom, one of the parameters is the dispersion or shape parameter. This can be parameterized as theta or alpha, depending on how the model is written. I can't tell from ?rnbinom what its asking for. Anyone have an idea? EDIT: I've run a simple negative binomial regression model, and want to use th...
Suppose that a given device returns a type II error rate of 5% when trying to detect the presence of a physical effect (in my specific case, the presence of a radioactive source, from which said device can observe 50 gamma emissions). How may I calculate the necessary amount of observable emissions if I want to bring t...
I did 2-way ANOVA on my microarray data where I have treated and controlled samples from two different tissues (total 8 arrays). sample1 control tissue1 sample2 treatment tissue1 sample3 control tissue1 sample4 treatment tissue1 sample5 control tissue2 sample6 treatment tissue2 sa...
I have 10 independent variables and 1 dependent variable. I need to know if independent variables have a relationship with my dependent variable. I'm performing a multiple regression, and I have the following results: My ${R}^2$ is too small (.3), even with the full model. Is that enough to say that there's no relation...
A random forest in XGBoost has a lot of hyperparameters to tune. I have seen examples where people search over a handful of parameters at a time and others where they search over all of them simultaneously. What are some approaches for tuning the XGBoost hyper-parameters? And what is the rational for these approaches?
Some background: A number of papers in the literature (various ones by Hosmer and Lemeshow; Copas; le Cessie and van Houwelingen; Cressie and Read; Osius and Rojek; J. R. Dale) discuss a family of power-divergence statistics $SD_\lambda$ for binomial regression whose distributions are asymptotically normal; see in part...
Let's say we have "number of accidents" as the response in a poisson regression model. One of the predictors is "number of days." Naturally, we expect more accidents to occur over more days, so it makes sense to treat this as a rate model and consider "number of accidents per day." So we take $$ \log \frac{accidents}{d...
I hope someone can help me with this! I have an equation given by: a=b+c which gives me a numerical value for a. b and c are values I plug in. I also have an equation given by a'=b'+c'. The values of b' and c' have multiple different values with associated probabilities. i.e.; b'=2(50% of time) and b'=3 (25% of time) a...
I am learning how to use R Studio for a class and the question asks to state and test the effect of the rank of a law school from a data set on the median starting salary with a regression. Any help is appreciated and thank you in advance!!! The regression model is: log(salary)=β0+β1LSAT+β2GPA+β3log(libvol)+β4log(cost)...
$\newcommand{\E}{\mathbb{E}}$$\newcommand{\P}{\mathbb{P}}$The Central Limit Theorem (CLT) states that for $X_1,X_2,\dots$ independent and identically distributed (iid) with $\E[X_i]=0$ and $\operatorname{ Var} (X_i)<\infty$, the sum converges to a normal distribution as $n\to\infty$: $$ \sum_{i=1}^n X_i \to N\left(0, \...
Suppose I have $N$ samples each of size $n$, drawn from the same population, where each sample has its own sample variance $s_i^2$. I understand that for any given sample, a first estimate of the population variance $\sigma^2$ is: $$\hat{\sigma}^2 = s_i^2 \displaystyle\frac{n}{n-1}$$ But what if you have multiple sam...
Say we fit a simple linear regression without the intercept term. I know this is inadvisable for the most part, unless there are some situations where it is reasonable to assume that when $x=0$, $y$ is also 0. I have been reading that when fitting without the intercept, it may cause the residual term to have non-zero m...
I am trying to cluster the data set 'How Americans spend their time' using kmeans clustering. The data set contains education, gender and age-range (55-60, 60-65 etc) as categorical variables and rest of the variables such as no-of-hours in socializing & relaxing, no-of-hours shopping, no-of-hours watching TV etc are ...
What is the difference between Support Vector Machines and Linear Discriminant Analysis?
I have two groups of patients undergoing different treatments (active versus placebo), followed up at 3 different time points (time 1, time 2, time 3). The outcomes are categorical (improvement vs no improvement) so I know I should not use repeated-measures ANOVA. What is the appropriate test to use? I use SPSS for ana...
I have a basic definition of the Monotone Convergence Theorem: If $\{X_n\}_{n\geqslant 1}$ is a sequence of random variables such that $X_n\nearrow X$ pointwise and $X_n\geqslant 0\ \forall n$, then $E(X_n)\nearrow E(X)$. My question , how much liberality can made on the convergence part? I mean: which of these (nam...
I am struggeling with interpreting the following scenario and was hoping that some of you could help me. I calculated a moderated regression with PROCESS to study the effect of Product type (product 0 and product 1) and time of purchase (time 0 and time 1) on the intention to buy the product. Product type is positive a...
I have the algorithm (MF (Membership function) ARTMAP Neural network). Output from this algorithm are clusters in n-dimensional feature space. Over each cluster (in n+1 dimension) there is some membership function (Cauchy like - Bell shaped function), that says the membership value of some point to some cluster. No...
Given a classifier, that was trained on a data having two classes e.g. class red and class blue. The training samples are hand picked and only contains those two classes. After training the classifier should classify some samples, but it turns out that those samples contain the classes red, blue and a third one magent...
If $\{X_n\}$ is a sequence of random variables and $X$ be another random variable, then as far as I know $$E(X_n)\rightarrow E(X)\nRightarrow E(|X_n-X|)\rightarrow 0$$ always. But I am not getting an example. Can somone provide me one?
I have issue combining metafor and boot package. My original meta-analysis model is following and this runs well: Lu_i<- rma(yi=Hedges_g,vi=Vg, dat=intensive, mods=~Landscape:Contrast-1, method="REML", random=list(~1|Study,~1|id)) I am using “boot” package for obtain confidence intervals. So I run following function ...
Wikipedia describes Freedman’s paradox briefly as a problem in model selection whereby predictor variables with no explanatory power can appear artificially important with a reference to a 1983 paper by David Freedman. The term "Freedman's paradox" appears in the title of Model selection bias and Freedman’s paradox ...
I have a model in matlab that, ultimately, outputs a yes or a no depending on certain input parameters. There's a degree of randomness in the model, so by runnning it 1000 times, I may end up with 200 yes's and 800 no's, but if I run it 1000 times again, I might end up with 180 yes's and 820 no's. I could repeat this a...
It might come across as a very basic (dumb) question, but I'm really curious about it even if my knowledge in this subjects is close to zero. As part of a website A/B testing framework I'm trying to work for a particular experiment I would like to give 10% of the visitors of my page a given feature. My question lies in...
I have a dependent non-stationary time series and 4 independent non-stationary time series. Because of small sample size (n=11) I couldn't use regression for prediction but I want just report correlation between dependent and each of independent time series. Is cross correlation usable for non-stationary time series? W...
Suppose I have dataset and I run over it decision tree algorithm. If I get 2 types of decision trees one is compact (has few nodes and leaves) whereas the other one is not compact. What can be the reason for the difference between the two if they run over the same dataset?
I'm looking for a book that in detail covers the mathematical basis for different learning algorithms in order to better guide my intuition on what is difficult. My background is a Math Ph.D., but I'm fairly new to the NN area having mostly done some small-scale networks for simple problems as well as done some courses...
In a Bayesian model, we normally have that: $$ p(\boldsymbol\mu|\boldsymbol X) = \dfrac{p(\boldsymbol X|\boldsymbol \mu)p(\boldsymbol \mu)}{p( \boldsymbol X)} $$ Now suppose that $\boldsymbol \mu \sim N(\boldsymbol \mu_0, A)$ and that $\boldsymbol X | \boldsymbol \mu \sim N(\boldsymbol \mu, B)$. In this case, by conjug...
My goal is to estimate nutrition indicators of children less than 5 years old at the subnational level (say provinces) in a given country. I have two datasets: i) survey data that includes this nutritional information and some variables regarding the socioeconomic status of the household in which the children lives....
I'm having trouble to replicate how extractAIC() is calculating the AIC for a linear model (lm). There are a lot of different formulas for the AIC out there, I've tried them all but none of them yielded the exact same value as extractAIC(). Here is what I've tried (extractAIC(finalModel) is 24823.52): finalModel = step...
I have some data which looks like this when I plot a normalized histogram. The full data set is available here and here (the second link is pastebin). It is 20,000 lines long. My guess is that it is a sample from a (generalized) gamma distribution but I have failed to show this. I attempted in python to fit a genera...
I have two df that I convert to contingency tables, each df identifies two sets of survey questions results in two different months. The number of rows of the dfs is different, meaning that surveys got different amounts of responses. Each dataframe contains the same unique values (4 different unique values per column) ...
I have two dependent variables, one is positively skewed (significantly), the other is negatively skewed (not significant). I can apply a log10 transformation to improve the skewness on the first one. Questions: Can I then statistically compare the two variables in a mixed ANOVA test (the two variables are steps of a...
I'm having difficulties in contructing a proper statistical approach to analyzing the data described below. We have 3 subjects which we each measured on 20 different days. On each day we measured a certain variable Y in two conditions: A and B. These measurements are thus paired. The effect of specific day is not of i...
I hope you can help. I've been told by my supervisor that I should not use quality ratings on my studies prior to analysis; and instead explore quality of ratings post analysis to explain groupings/results. This seems strange to me - surely if you want the meta-analysis results to be useful, you want only good quality...
The basis of my question is whether it makes sense, given you have a set of propensity scores, to stratify the data based on the propensity scores and on a second variable which was included in the propensity score model. For example, suppose I have a set of propensity scores based on the following model: Y~X+Z. Using ...
I have annual time series data for rice productivity for India from 1951 through 2008. I stored the data as a ts object in R and made the data stationary with one difference as indicated by > ndiffs(rice) [1] 1 My ACF and PACF for the first difference of the logarithm of the rice series log(rice) look like so: Obser...
I have 6 datatasets: Dataset1: 2548 samples Dataset2: 5167 samples Dataset3: 2490 samples Dataset4: 9113 samples Dataset5: 7332 samples Dataset6: 26650 samples Dataset6 is the combination of the other 5. I am using sklearn. What SVM should I use? a) svm.SVC : based on libsvm kernels:rbf (x defect), linear, poly, s...
I am using MixedLM to fit a repeated-measures model to this data, in an effort to determine whether any of the treatment time points is significantly different from the others. I get the following summary, and I have also plotted the data, for ease of overview (the error bars report the .95 confidence interval for the ...
I am currently running a multi-variate analysis in R. The regression looks as such : lm1<- lm(NEP ~ Stand_Age + GPP + SPI_CRU+ N_Av + SPI_CRU:NHx + GPP:MAP + GPP:MAP_Trend + Clay_1km, data=df) I am also computing the relative importance of the predictors based on t-statistics provided by the package caret. library(ca...
Suppose 3 tv shows may choose any of 150 low-ranking guests , 1 president and 8 high-ranking guests for each show, but they don't have to choose any of those guests at all. They may determine themselves if and how many of the guests they want to have on the show. Show A airs 100 times, show B 40 times, show C 200 time...
I'm using gaussian process regression with an RBF kernel to forecast a time series. I'm using GaussianProcessRegression in sci-kit learn, with a kernel: 1**2 * RBF(length_scale=1). Target values are normalized. This does a great job of fitting to the time series training set, but on the unseen testing set, it consisten...
I am performing a meta-analysis in R with metafor package. Primary studies report the reduction of plant species to certain amount of nitrogen fertilization. Effect size is calculated as the ratio of number of species in the treatment group divided the control for each observation. Following Borenstein (2009), there is...
Lets say I have two datasets $y_0,...,y_T$ and $y^*_0,...,y^*_T$ with like 300 observations (point estimates) each and the observations are like normally distributed. $y$ is observed from the "Real Generating Process" while $y*$ are the estimates from Model M*. I am struggling to find a way to calculate the marginal li...
Parzen window density estimation is described as $$ p(x)=\frac{1}{n}\sum_{i=1}^{n} \frac{1}{h^2} \phi \left(\frac{x_i - x}{h} \right) $$ where $n$ is number of elements in the vector, $x$ is a vector, $p(x)$ is a probability density of $x$, $h$ is dimension of the Parzen Window, and $\phi$ is a window function. My ques...
I have a 4x4 contingency table that looks like: mytable <- xtabs(~df$hair + df$eyes, drop.unused.levels = TRUE) oddsratio(mytable, log=FALSE) lor <- oddsratio(mytable) summary(lor) This yields to: z test of coefficients: Estimate Std. Error z value Pr(>|z|) black:blonde/blue:brown ...
I'm reading through "An Introduction to Statistical Learning" . In chapter 2, they discuss the reason for estimating a function $f$. 2.1.1 Why Estimate $f$? There are two main reasons we may wish to estimate f : prediction and inference. We discuss each in turn. I've read it over a few times, but I'm still partly unc...
Let $X$ be a multivariate time series of $N$ variables and $T$ observations. Let split $X$ into two separate datasets : $X_{train}$ : a train set with $N$ variables and $T_{train}$ observations $X_{test}$ : a test set with $N$ variables and $T_{test}$ observations We train different forecasting methods ($k$-NN, $VAR...
Suppose I want to estimate the model $Y_i = \beta_0 + \beta_1 D_i + \beta_2 X_i + \beta_3 D_i \times X_i + u_i$, where $D_i$ is a dummy variable and $X_i$ a continuous variable. Furthermore, assume $corr(D_i, u_i)=0$ and $corr(X_i, u_i)\neq 0$. Can we use OLS to get an unbiased estimate of $\beta_1$ and $\beta_3$? What...
I tested the hypothesis that a dataset (below) follow the exponential distribution by using the following Matlab command: [h] = chi2gof(dataset,'CDF', fitdist(dataset,'Exponential'), 'Alpha',0.01 ); and the result was: h = 0 Which means that the test failed to reject the null hypothesis. However, when I add 1 to all ...
In the article Assessing the Accuracy of the Maximum Likelihood Estimator: Observed Versus Expected Fisher Information the authors use the expression "approximate ancillary statistic". This expression is used in a lot of others articles. Anyone know's the definition of approximate ancillary statistics?
A few times I came across the statement that an Inverted Gamma (3, 0.0005) prior for the variance is quite diffuse but proper. Hence, my understanding is that the prior variance of this random variable is large. However, Wikipedia says that the variance with these parameters equals 0.2500e-04, which is tiny. Indeed, wh...
please reffer to this image , the entire question was tried earlier during an assignment , i have mentioned everything that i tried here in the image
I tried to understand what kind of statistical analysis I have to do in my case but failed to grasp idea. Let me first explain my experiment. I performed experiments to analyze the brain network difference among three groups; i.e. control, patient group1 and patient group2. I have EEG signal with five different freque...
This is both a Math- and an R-question. I have a vector of POSIXct dates and a I want to determine the characteristics of the data. Example with numbers: c1 = 1,2,50,51,100,101,120,121 c2 = 10,20,30,40,50,60 c1 has more jumps and c2 is more continuous, but I am not sure how to sum this up in one value. Any ideas? Cons...
I have collected data from 500 anonymous online respondents who rated the acceptability of two variations of a large number of sentences (3-level categorical data: excellent, acceptable, impossible). I suspect that some of the respondents' data is somewhat random (or at least very sloppy), and I need an empirical way t...
I have a dataset of water temperature measurements taken from a large waterbody at irregular intervals over a period of decades. (Galveston Bay, TX if you’re interested) Here’s the head of the data: STATION_ID DATE TIME LATITUDE LONGITUDE YEAR MONTH DAY SEASON MEASUREMENT 1 13296 6/20/91 11:04 29.50889 -94...
It seems to me that the PDF of the negative multinomial distribution (as defined on wikipedia, apologies could not find a good free reference) is not defined at (0, ..., 0). Despite the tag, I am talking about negative multinomial which is a multivariate extension of the negative binomial distribution. For starters, th...
I have a database with only 27 patients, and each patient was analyzed for the more than 119 different bacterial species. We test the percentage of each bacterial species among all the 119 species for each patients. So, for each patient, the total percentage of all bacteria species is same: 1. The data set is displayed...
This is the problem I am facing right now: I have a dataset with 100.000 samples and 20 predictors. The predictors are correlated with each other due to their nature. I've run two different random forest models with a sample of the dataset (see why I used a subsample in the explanation below): The first random forest ...
I am having a hard time trying to figure out the correct answer to this question. Any insight? I don't understand this at all. Which of the following is NOT true regarding eigenvalues? Option 1: An eigenvalue indicates the amount of variance in the input data a component accounts for Option 2: Any component with an ei...
I am comparing classification algorithms on different data-sets. For some of the algorithms, there are reasons to believe they don't work well with class imbalance unless some kind of adjustment is made. If the adjustments work well, the experiments on the imbalanced sets should show that the adjustment helps and the b...
I have been reading the work of Loftus and Masson but am still confused. I will ask very specific questions, but ultimately I am interested in understanding the material such that I feel comfortable computing a CI for any given pattern of interest. I have a 2x2x2 completely within-subject factorial design with factors ...
TL;DR What is the difference between regular and long run SVAR model? In details: I am estimating a SVAR model, with tourist arrivals, accomodation capacities and consumer confidence. I am chose the SVAR modelisation because it allows me make contemporaneous interactions between the tourist arrivals and the accomodati...
I studied mathematics a decade ago, so I have a math and stats background, but this question is killing me. This question is still a bit philosophical to me. Why did statisticians develop all sort of techniques in order to work with random matrices? I mean, didn't a random vector solve the problem? If not, what is the ...
Why I am getting errors in R for "'degree' must be less than number of unique points" in this case? set.seed(0) # this is fine dim(poly(runif(1e3),20)) # this will not work dim(poly(runif(1e3),30)) Where we have $1000$ unique data points from uniform distribution, and the degree is only $30$? I found the answer to be ...
I have a classifier which assigns a behavioural class to segments of data such that the output emissions that result are a sequence of predicted animal behaviours such as: Foraging ==> Foraging ==> Resting ==> Resting ==> Relocating Inevitably, some behaviours will be misclassified for example the likelihood of finding...
I try to predict a regression task using random forest. My data set is relatively small (little above 1000 observations in the training set). In order to tune the model I perform repeated cross-validation (t = 10 and k = 10) and GridSearch (mtry and bootstrap sample size). This result into $k \times t$ best parameter s...
I'm looking for some references for online multi-class classification problem where the number of classes grows over time. Concretely, the data at time-step $t$ comes in the form $\left(\mathbf{x}_t, y_t\right) \,:\, \mathbf{x}_t\in\mathbb{R}^n,\, y_t\in\left\{1,\dots,K_t\right\}$. Any a new time-step can introduce a n...
I am new to Gibbs sampling and sampling in general, so here is a basic question. I am reading this tutorial. Equation (40) is our complicated joint probability and equation (49) the less complicated conditional probability. What is the main obstacle in sampling from (40) that calls for using (49)? After all, for every ...
So if we have a new dependent variable $Y_i=\left(\mathrm{IncGrowth} _i-\mathrm{PopGrowth} _i\right)$ and the new set of regressors is a constant term plus $\left(\mathrm{LogInc}_i-\mathrm{LogPop} _i\right)$ and $\left(\mathrm{LogEduc} _i-\mathrm{LogPop}_i\right)$. In terms of the original regression coefficients $\b...
Suppose that a data frame mydata defined in R as below: subj task value 20447 one -0.0748662353 20447 two 0.1496499181 20973 one 0.0857235193 20973 two -0.0717919692 21163 one -0.0127782635 21163 two -0.0276126750 21209 one -0.0991728380 21209 two -0.0366962068 21590 one ...
I was fitting a model to some potentially autocorrelated and/or heteroskedastic data using feasible generalised least squares (FGLS). That is, I estimate coefficients by $$\widehat \beta_{FGLS} = (X'\Omega^{-1} X)^{-1} X' \Omega^{-1} y,$$ where $X$ is my design matrix. The weighting matrix/covariance matrix $\Omega$ is...
I have never used Random Forests, but I have read some about it. Until now I have used GLM/GAMLSS extensively. I would like to know: What are the advantages that RF provides over GLM/GAMLSS? What are the disadvantages of using Random Forests? I am starting this new study which has around 25 predictor variables, and I...
I have got one problem as following. There are two coins in a box (that look very much the same). For one coin, the probability of heads is $0.7$ and for the other, the probability of heads is $0.1$. You will randomly select one of the coins and toss it once. Based on the result of this toss, you will decide w...
I want to fit a multiple linear regression to a population composed by two groups, one is the control group, and the other one is the group subjected to a treatment. The independent variables are both categorical and continuos. What I did is this: mod <- lm( Y ~ as.factor(Groups) + X1 + X2 + ... + Xn) where Groups...
I've run a simple model using orm (i.e. reg <- orm(formula = y ~ x)) and I'm having trouble understanding how the model comes up with predicted values. I can get predicted values using predict(reg, type = "mean") and I'm looking for some explanation of how the model output (i.e. intercepts and parameters) gets converte...
I am sure here there is someone who has experienced something like this... I have a dataset with 4 classes, one of it is 3% representation and I considered it as under-represented, so I did some resampling approaches, but guess what? its classification accuracy didn't change except by just 1 or 2% at best over the clas...
M= matrix(c(1,0.5,0.4,0.6,1,0.6,0.3,0.7,1),3,3) b=c(1,0.3,0.4) I want to find x that: 1. all elements in x are non-negative 2. sum of square of (M*x-b) is minimum How do I do it in R? Edit------------------------- So I found that there are two ways to do this: The first way don't require and package, I created a functi...
I have an environmental dataset, where observations do not sum up to 1. I suspect that data are a subcomposition, meaning that not all elements have been measured and that is why observations do not sum up to a constant. I would like to apply isometric logratio transformation ilr() from a package "compositions". By ap...
I am running a comparison experiment on a set of different algorithms. The test set is the same for all, and there is a pool of items from which each algorithm chooses n items, and then I use ordinary least squares to learn my function, let's call it y(A), where A is the algorithm I used to select the data points. I'm ...
How can I know if there's a relationship between my response variable (Y) and the predictors (${X}_{i}$)?. I'm confussed, I don't know if I have to use the ${R}^{2}$ or the F-statistic and its p-value. Or none of these? Thanks a lot!
I have 3 independent variables - Game (3 groups) Noise Type (2 groups - SNM (Sequential Noise Model), ZMGN(Zero Mean Gaussian Noise)) Noise Level (5 groups - AL-AverageLow, AM-AverageMedium, N-None, L-Low, M-Medium) Noise Type and Noise Level are nested factors such that - SNM - AverageLow, AverageMedium ZMGN - Non...
so I know that combination problems are usually quite simple but in this case I am not really sure how to proceed, I hope the question would not be regarded as too easy. Situation: I have a data file composed of a 2X2 matrix which comes from a camera (pretty much a picture). Now, for each picture there will be a given ...
I am trying to compare multiple columns of data with different units graphically. If I z-score the whole dataset am I introducing any error? Can I safely compare from column to column? Eg Pb(mg) CO(kg) N(?) 42. 6543. 123 49. 7989. 456 54. 4577. 222
If I have a big dataset and I split it randomly to equal size splits. It means that I choose randomly each record and exclusively put in the each split (bagging). One time I split the big dataset into N splits (lets say 32) and in second time I split it into 2*N (64). Should the split in the second time (the 2N = 64) y...
I have a probability measure $P$ defined on 2 semi-algebras $S_1$ and $S_2$. According to the first extension theorem, there is a probability measure $P^*$ defined on the smallest algebra that contains S1 and this $P^*$ is unique. I am just wondering whether $P^*$ is also defined on the smallest algebra that contains ...
In general I think I understand permutations fairly well. A simple example of permutations is drawing balls from an urn. I have 3 colors of balls, blue, green, and red, and I have 5 balls of each. How many color patterns of balls can be drawn from the urn ? In this case the order of the color matters, but all ba...
Suppose that $T$ is an exponential random variable. Show that the process ${X_T (t)}:=1_{[T,\infty)}(t), t\geq0,$ with state space $S=\{0,1\}$ is a Pure Jump Markov Process. Here is what I have gotten so far: Let $T\sim\mathrm{Expo} (q)$, where $q>0$. Then, we can write the sample path decomposition: $${X_T (t)}...
suppose X ~ exp $ (1/\theta)$ and Y ~ exp $ (2/\theta)$ , then why is not X+Y sufficient for $\theta $ ? this is what i tried , X + Y = X +2Y\2 , let Z= 2Y , then Z is distributed same as X i.e Z ~ exp $ (1/\theta)$ then we must have X + Z as sufficient for $\theta$ and since X +Z/2 is a one to one function of su...
I've faced a problem like this: In an election there are 2 candidates, we know that every person's vote is a Bernoulli random variable and we know that the votes of the candidates in the society is equal. I want to use Beta distribution as prior distribution to guess p. How should I choose the parameters of this Beta d...
I have this Maximum Likelihood (ML) problem, which gives after simplification: $${x_{\hat{\eta}}}^T y_{\hat{\eta}} \times {\mathbb{1}}^T \mathbb{1} - {x_{\hat{\eta}}}^T \mathbb{1} \times {y_{\hat{\eta}}}^T \mathbb{1} = 0$$ where $x_{\hat{\eta}}$ and $y_{\hat{\eta}}$ are two vectors that depends only on the scalar $\hat...