instruction
stringlengths
9
38.7k
I am currently writing a meta-analysis using a pairwise random effects meta-analysis to compare the complication rates of 5 treatment modalities, with one as the gold standard. I was able to get RR's out of the analysis but was not able to get p-values out of it. How do I get the p-values out of it? drf <- read.csv("dr...
I have a single dependent score for each of my subjects. Most of my independent measures I took multiple times from each subject across multiple trials. In order to compare the independent measure to the dependent measure in a regression model I have compressed the repeated measures into mean scores for each subject. ...
I'd like to know if it makes sense to use Spearman's correlation on my dataset. Below are plots between my 3 variables : Correlation plot (Spearman): It seems it's pretty good but since I'm not from statistics I'm not sure. What do you think about it ?
I am designing an experiment with juvenile fishes. There are 12 replicated tanks. In each of the first 6 tanks there is a even mix of male and female fish (100 of each sex in each tank); 3 of these tanks will be treated with chemical A, and 3 treated with chemical B. The remaining 6 tanks will be set up identically but...
Let's say that I am building a classifier on imbalanced data. A sample of the data set looks like: Person Time1 Time2 Time3 Injury A 3 2 3 0 A 3 3.4 1.2 0 A 2 2.1 2.1 1 B 0 2 2 0 etc. I want to use Person...
Given a matrix $M \in \mathbb{R^{m \times n}}$ whose some entries in $\Omega$ are missing, I'm interested in filling in the matrix (Matrix Completion). I know a natural approach is to seek the lowest rank matrix $\hat{M}$ that interpolates the known entries of $M$. I know a way to solve this problem is to solve the fol...
Suppose we are trying to model the probability of a user clicking on an ad using logistic regression. We will receive only the positive feedback so, we define $Y = 1$ when success was observed, $Y=0$ otherwise. We define the probability of click for a set of features $X$ as $$ P(y_i=1|X=x_i) = \frac{1}{1+e^{-wx_i}} $$ ...
I am studying time series analysis for the very first time and I cannot seem to get my head around the fact that the entire time series analysis is about studying and modelling the behaviour of the noise component of the time series model. But why is it that we are so concerned about the noise? From what I could gather...
I am using RDA to study plant communities in various land uses (variable LU with values M, U, etc.). For each land use, I sample 3 to 5 fields (M1, M2, U1, U2, etc). I make 5 measurements for both plant communities and environmental variables in each field. I repeat the process every 6 months to study the effect of tim...
I received these output when I ran GLM in R: Estimate, Std. Error, z value, and Pr(>|Z|). I know z value = Estimate / Std E, but what exactly does "std. error" and Pr(>|z|) mean?
We use the TBATS model for the multiple seasonal data that we have. The data has a weekday season and an hour season, that is, Monday 7 PM is different from Sunday 1 AM. The data values are as follows: 11829.93056 12115.39361 13019.32222 17269.24194 12505.68 11262.57333 9606.739444 11203.85194 12877.34 14470.51 15870.8...
I am currently doing a study on the impact of transport infrastructure on house prices. There are 2 methods that I would like to explore but I am not sure if the second one is considered difference in difference (DiD). First Method: Treatment group - 800m buffer from station. Control group - 800m to 1600m buffer from ...
I'm studying agriculture and I'm looking for answers concerning one of my problem. I have to implement a randomized complete block design and I would like to generate it with R. I've found some answers in the pdf of the package named "agricolae". Nevertheless, I cannot manage to create it. Does someone have an idea o...
I am interested in tSNE for data analysis but am very fuzzy on how the embedding process is actually developed and the clusters formed. I know there is a cartesian distance metric and some probabilistic magic going on that I do not understand. I'm seeking an intuitive understanding of what these two key aspects of the ...
I am interested in reproducing the object detection results found in the whitepaper describing the YouTube BoundingBox dataset (https://arxiv.org/pdf/1702.00824.pdf). What I don't understand is how the authors can use the Mean Average Precision (mAP) metric to evaluate/train their network when using YouTube BoundingBox...
In 2015 LeCun proposed the Character-level CNN in the paper Text Understanding from Scratch. I am quite confused by the model description in the following figure. Can someone help me to figure out why after the first convolution the height of the matrix becomes larger? It does not make any sense to me. Appreciated!
In this https://cs231n.github.io/neural-networks-case-study/ why does it mention "the Softmax classifier interprets every element of ff as holding the (unnormalized) log probabilities of the three classes." I understand why it is unnormalized but not why it is log? What does a log probability mean? Why not just say un...
I am completely new to text classification and facing the following problem, I want to classify sentences and have a labeled dataset, the thing is that my Y variable is itself a sentence, hence I wanted to ask what is the best approach to follow here. I could relabel my Y as 1, 2, 3 and then apply some kind of multino...
I am currently trying to apply Linear Regression model to test the relationship between two variables $X$ and $Y$. Given a dataset with $8$ columns and $1000$ rows, I want to split this dataset into training and test sets using split_train_test. But i wonder what is the difference between split_train_test(dataset, test...
What does the word "omnibus" mean in the context of statistics and data science? I hear about omnibus measures and omnibus tests.
When I input my data into OpenEpi for proportions, I get a proportion and a variety of possible confidence intervals to use. What is the difference between the Fisher Exact test and the Wilson Score? And when would I use each one?
Please let me know of your opinions on the following: A generalized least square model was used to compare a variable in 2 groups of subjects. Two covariates were included in the model. One of them is a continuous variable (age) and the other is categorical (sex). However there is no overlap in sex between the 2 group...
I have conducted a logistic regression in order to identify whether student status (student/non-student), time period (time 1, 2 or 3), or condition (condition 1 or condition 2) predict a binary outcome (buying lunch or purchasing lunch). I have plotted the predicted probabilities that are saved as a result of the logi...
I would like to know if there are very popular methods for feature selection following clustering with k-means or HAC. More precisely, I used these methods on genomic data to sort a hundred patients based on about 2,500 genes. Now I would like to select the genes wich are the most important for patient sorting. Does an...
I have been working on a time series where after the first difference, I observe heteroskedasticity. To handle the situation, I found that ARCH/GARCH models are used typically. When I read about the procedure, they say that the time series is first fitted with a conditional mean model like AR or ARMA and ARCH/GARCH mod...
I am interested in investigating the relationship between species composition and several environmental factors. My question is whether it is appropriate to use PERMANOVA to select a 'best' combination of explanatory variables to use in subsequent CCA analyses. I ask because a recent diet analysis paper Kemper 2017: D...
I believe this question is related to Extreme Value Theory, an area of statistics that I have not studied. Let $X$ and $Y$ be random variables the null hypothesis be that $X=Y$ in distribution $\{X_i\}_{i=1}^{n_X}$ be a sample of size $n_X$ from $X$ and $\{Y_i\}_{i=1}^{n_Y}$ be a sample of size $n_Y$ from $Y$ $X_{max...
If I select N values at random from the discrete uniform distribution on the integers [1, 2, ..., M] what is the probability distribution for the smallest value? I'm interested in the discrete probability distribution, but also in a continuous approximation for it (so I could sample randomly from it). I guess in a sens...
I have two datasets that contain the most common words and their frequencies of two different articles. e.g.: A = [apple: 23, healthy: 15, tasty: 4] B = [apple: 19, healthy: 21, bad: 7] Both datasets contain similar words. I want to find a measure that will give me an idea of whether or not the two articles are talk...
I have a sequence of independent random variables {$\epsilon_j$} with mean 0. I also have another sequence of Bernoulli random variables $\delta_1, \delta_2,\dots$ which are dependent on the previous values of $\delta_t$ for $ t \leq j-1$ and such that $\delta_j$ is independent of {$\epsilon_t:t \geq j$} for all $j \ge...
Say I'm training neural net in a framework such as tensorflow or caffe. Tensorflow keeps track of the loss of that model as it trains, and then saves off a model at the end. I'm wondering if it is common practice to save the weights that had the lowest loss during training, or to simply save the weights that exist at t...
I am conducting an analysis of methylation data for ~20k+ genes. For n=3, I am doing a t-test for every gene to see if it has been differentially methylated after treatment. Methylation values range from [0,1]. So, in my data I have 6 rows, with a before and after row for each patient and # columns = # of genes (~20k)....
I am refreshing my understanding of econometrics and have a question regarding interpretation of square of logarithm-transformed term in linear regression. The interpretation of a square term or a logarithm-transformed term is standard. But what does it mean when we have a variable that is first logarithm-transformed ...
The model is: $Y_i = B_i + B_2x_i + e_i$ $i= 1, ... , 10$ $x_i = i$ $y = (8,4,4,7,8,8,4,9,4,5)$ I'm find: $[B_1, B_2]^T = [84.77; 13.67]^T$ $s^2 = 5.20$ On the same data, adapt the following model: $Y_i = a + e_i$ $x_i < 6 $ $Y_i = a + b(x_i-1)$ $x_i >= 6$ I must find the estimate of maximum likelihood of $B* = (a,b)^t...
I am currently reading this paper on Restricted Boltzmann Machines. On page 22, Given a Markov Random Field $\mathbf{X} = (X_1,\ldots,X_N)$ w.r.t a graph $G = (V,E)$ where $V = \{1 \ldots N\}$ and $i \in V$. The Gibbs sampling procedure is as follows: At each transition step, pick random variable $X_i$, with a probabi...
Summary: There appears to be scientists that refuse to put prior probabilities on some statements, such as the existence of the Higgs Boson. This is an understandable position. These scientists, however, will not shun from claiming to have discovered something when they hit p = $\frac{1}{3,500,000}$ (five sigmas). Yet,...
I'm interested in understanding the mechanism of the Evolutionary Learning of Globally Optimal Trees or evtree in R. Maybe I am missing something, but I don't understand how the root node is chosen for each tree. From my understanding the root node is randomly split for the first iterations, but is it itself also rando...
In a hypothetical situation with sparse experimental data, the researchers use interpolation (linear or cubic splines) between the points to generate more data before applying modeling (eg GLMs) and numerical techniques (eg finite difference). How would this affect the final output? Does it bias it in a known direction...
When we build regression models, we need to check the correlations between attributes. Could anyone explain the difference between checking the correlation between pairwise attributes and multicolinearity. What I found was that some attributes have high pairwise correlation, say greater than 0.6. But when I am checking...
My case is quite simple. Customers are faced with series of choices of unique alternatives. For example: Customer 1 chooses one of 1,2,3,4,5,6 Customer 1 chooses one of 7,8,9 Customer 2 chooses one of 10,11,12,13 Customer 2 chooses one of 14,15,16 etc All the alternatives 1,2,... are unique and can't be naturally ca...
I'm following Rob Hyndman's forecasting otext to practice on some financial data for fun and I am having difficulties in trying to properly deal with large shocks similar to the 2008 recession. My data is as follows: library(forecast) stock <- c(60,150,149,66,28,59,75,148,11,188,113,313,340,362,321,360,334,338,424,37...
We're studying operators in a particular transportation industry in Europe. The data are being collected as part of a larger project, and so far we've only analyzed in a very specific manner to satisfy government regulation. There's a lot more we could do with the data, so I'm exploring different avenues of doing so. ...
According to Zou et al. 2005, the elastic estimator has the follow formulation. $$ \beta_{elastic} = \arg \min_{\beta} 1/2n\|Y - X\beta\|_2^2 + \alpha \lambda\|z\|_1 + (1-\alpha)\lambda/2 \|z\|_2^2$$ I understand that the elastic net takes the advantage of both the ridge and lasso regression in the penalty term. But ...
Unordered factors are basically dealt with in R by dummy coding them to compare the base level of the factor to every other level. Thus, I understand why asking for a summary on a regression of a continuous variable predicted by an unordered factor shows each level of the factor (except the base level, which each leve...
Suppose $Y_i$ has normal distribution with mean $\mu$ and variance $\sigma^2$ then $$\dfrac{\sum( Y_i - \bar{Y})^2}{\sigma^2} \sim \chi^2(n-1)$$ It's a fact that the the ML estimator ($\sigma_{MLE}^2$) for $\sigma^2$ is $$\dfrac{\sum (Y_i - \bar{Y})^2}{n}.$$ Edited the ML estimator Can someone please show this, I have...
Could someone please clarify for me the difference in how interaction and main effects terms should be interpreted in ANOVA and regression? I understand that in regression, the coefficients for the various terms are qualified i.e. if an interaction term is included, the coefficients of lower order terms are conditional...
Suppose that $X \sim F(n,n)$, an F distribution on $n$ and $n$ degrees of freedom. I'm trying to figure out why some literature state that $X$ converges in distribution to a normal distribution. My confusion lies in the fact that $X$ can be written as a ratio of two chi-squares, $$ X = \frac{\chi_n^2/n}{\chi_n^2/n} $$...
I am looking at the formula for weighted variance here http://www.itl.nist.gov/div898/software/dataplot/refman2/ch2/weightsd.pdf vs. the wtd.var() Here is some sample code. Why don't the weighted vars tie? library(Hmisc) x = c(3,55,5) w =c(1,10,1) wtd.var(x, w, normwt = TRUE) sum(w*(x-mean(x))^2)/((2*sum(w))/3) why d...
According to statistics textbooks, t-tests require the dependent variable to be normally distributed and the variance to be homogenous across conditions. What's the authorized standard in statistics? Is it OK or even necessary to check homogeneity before running a t-test?
In the book Introduction to Statistical Learning, the authors describe the relation between predictor $X$ and response $Y$, by linear regression as: $$ Y = \beta_{0} + \beta_{1}X+\epsilon$$ Here, $\beta_0$ is the intercept term and $\beta_1$ is the slope. $\epsilon$ is the error term. By minimizing the least squares cr...
In one excel workbook I am working on right now, the annual mortality rate is given as 3.082% And the formula for calculating the daily mortality rate is 1-EXP(LN(1-[annual mortality rate]/365) Why is it not 3.082%/365? What are the e^() and natural logs implying about the assumptions we're making converting from annua...
Suppose $F(x)$ and $G(x)$ are some CDF's with support $[0,1]$. I'm looking for relationship between $F$ and $G$ when it satisfies those following conditions: $$G^{-1}\bigg(\frac{1}{2}\bigg)\int^1_0F(x)(1-F(x))dx=\int^1_0xF(x)(1-F(x))dx$$ and $$F^{-1}\bigg(\frac{1}{2}\bigg)\int^1_0G(x)(1-G(x))dx=\int^1_0xG(x)(1-G(x))dx$...
Let $X=(X_1,X_2,...X_k)^t \thicksim Multi(n,(p_1,p_2,..p_k))^t, (1\le r\lt k)$. Now I want to derive the conditional probability function of $(X_r+1,...X_k)^t$, $f_{X_{r+1},...X_k\mid X_1,...,X_r}(x_{r+1},...x_k \mid x_1,...x_r)$, where $X_1 = x_1,...X_r=x_r$. Then $f_{X_{r+1},...X_k\mid X_1,...,X_r}(x_{r+1},...x_k \mi...
In dimensionality reduction technique such as Principal Component Analysis, LDA etc often the term manifold is used. What is a manifold in non-technical term? If a point $x$ belongs to a sphere whose dimension I want to reduce, and if there is a noise $y$ and $x$ and $y$ are uncorrelated, then the actual points $x$ wou...
I'm following Udacity Deep learning course and the instructor briefly explained about the "Sampled Softmax" used in word2vec. In tensorflow word2vec_basic.py, the implementation is like below. for j in range(num_skips): while target in targets_to_avoid: target = random.randint(0, span - 1) # randomly choose a wo...
I am trying to segment an image by first dividing it into superpixel, and than classifying those superpixel to merge them together. If I am doing it for example with a SVM or a Decision Tree, it works fairly well, but is still doing some mistakes. Now I wanted to use an Neural Network, to do the task, but after a few ...
I can grasp that the LLN is basically saying that deviations grow slower then the total number etc, but what I can't intuitively grasp is “why” 1 standard deviation would actually “be” proportional to square root of N… for example… the square root of 500 is 22.36… if a coin is flipped 500 times then we’d expect heads a...
I have collected data points from 216 individuals. A1, A2, A3 are three performance measures to be combined into a latent variable lA. I have three observations on this measure for each individual. U is another measure for which I have three observations for each individual, and these observations are paired with A1-3...
Let $X \thicksim Negbin(r,p)$ where $(0\lt p \lt 1) $ I want to derive skewness and kurtosis of $X$ by getting the Cgf of X. First, since Followance of Negative Binomial equals to the distribution r-th repetition of $Geo(p)$, such as $X \equiv Z_1+Z_2+...+Z_r$ where $Z_i \thicksim Geo(p), \forall i\in\{1,2,3,..r\} $ ...
I tried to do multiple imputations with Hmisc package. It seemed to work, but now I want to actually use the imputed values as part of my sample and run further analyses. Could someone please tell me where do I find the imputed values and how do I integrate them into my data frame? Thanks!
Excuse the title, suggestions are welcome but I wasn't able to come up with an easier one. I am trying to find a simple model which "kind of", at least visually, appears to follow a distribution like $\frac{1}{N}\mathcal{N}(\mu_{1i}, \sigma_{1i}) + \mathcal{N}(\mu_{2i}, \sigma_{2i})$ where $\mu_{1i} = 0, \forall i$ an...
I'm trying to analyze some fairly sparse data on a recurrent medical symptom, and I don't know what to do with two entries where my data is incomplete. My overall goal is a bit vague: it's to find a pattern that hopefully will, with the help of doctors, find a cause. The symptom is not very serious, but annoying. Assum...
We have $y_1,\cdots,y_M \in \mathbb{R}^r$ vectors. Suppose that the last entry of each vector $y_i$ is $i$, so that the vectors are sorted by the last entry. I solved the quadratic programming problem: minimize $|y_M-y_1-w|^2$ subject to $w^t y_{i+1} > w^t y_i$ This is always possible, since the vectors are sorted. Let...
I built the logistic regression model and the results have good accuracy, but I have a question. Let's say the predicted probability value is 0.86. And the total accuracy in the classification matrix of the model was 94%. How can I correctly interprete this? Can I say that with a 94% accuracy the probability of an eve...
Beaulieu-Jones et al. (2017) just published a new paper on generating clinical data with Generative Adverserial Nets. Many clinical outcomes have very low prevalence. My question: could GANs, like SMOTE, be used to augment the less prevalent class?
Machine learning newbie/enthusiast here, following Andrew Ng's course @ Coursera. I'm studying logistic regression. I've understood that, depending on the data, the decision boundary can be described by a simple linear equation (a line) as well as more complex higher-order polynomials (curves, circles, odd shapes). Wha...
I'm studying multivariate distributions in general and I keep coming across an expression like: $X = \mu + A Y$ where $ \mu $ and $A $ are constant vectors of dimensions d x 1 and d x k respectively. Then $X$ is d x 1 and $Y$ k x 1. Then theres an expression saying $ \Sigma = AA'$ and my lecturer mentions how we get $...
As to hypothesis test is not 100% exact I want to get an example to prove above logion. The example may be: normal distribution t.test p value > 0.05(even > 0.5,perfect statistic result) but 2 population is totally not same what's that kind of example?
I am working in a setup with two binary independent variables. One is experimental, $T$: treated vs. not treated. The other is a feature $F$ that I expect affects how strongly treatment affects outcome. The outcome $S$ is a Bernoulli random variable with very low $p$ (on the order of 0.01-1.0%). I do, however, have at ...
I would like to use the betareg package, and started with some simulations to ensure I understand how it works. I seem to be getting biased coefficient estimates in my simulation. I have made my simulation so that it roughly matches the type of data I plan to use (i.e., I have a continuous covariate, but data for evenl...
How is the "shortness" of the curve interpreted? I have seen studies that just crop this plot and declare "good calibration," but is it? The classifier never predicts above 0.6 in either the training or testing data. The classes are imbalanced, by the way: might this have something to do with the fact that $P(X|Y) \p...
I'm trying to determine the probability that the prediction is true, that Warriors won't lose consecutive games during an 82 game season. Assuming that Warriors have an 80% chance of winning every game I was trying to get an approximation using binomial probability (nCr*p^x(1-p)^n-x) but I don't know how to model cons...
I am using scikit-learn's PCA to reduce the features of my dataset. To determine which feature in the original space are most associated with which principal component, I take a look at the sklearn.decomposition.PCA. components_ attribute; per the documentation, this is an array of dimensions [number_of_principal_compo...
I am aware of the fact that categorical variables with k levels should be encoded with k-1 variables in dummy encoding (similarly for multi-valued categorical variables). I was wondering how much of a problem does a one-hot encoding (i.e. using k variables instead) over dummy encoding for different regression methods, ...
How does one encode interactions between a multi-valued categorical variable with other categorical variables in R? Does everything need to be written manually since multi-valued categorical variables are dummy-coded manually as well?
Many optimization algorithms, such as stochastic gradient descent algorithm, are based on random processes. Assume that I am using one classifier that uses the SGD, What statistical tests are required to validate the results, e.g., the accuracy? Does running the algorithm $n$ times and the find the average of all $n$...
In social recommender system problems, we have two sets of data, one the rating data denoted as $R$ and the other social data denoted as $T$, most of the papers end at an objective function over these two sets of data, something like this: $$ \text{Minimize} J = \lvert \lvert R - U^TV \rvert \rvert^2 + \beta ||T - U^TZ...
Here is a simple data simulation and a function that fits a logistic regression on the simulated data and returns the maximum of the fitted values: library(xgboost) # Simulate some gaussian predictors and binary outcomes data set.seed(1) x = sapply(1:10, function(k) rnorm(100)) y = rbinom(n = 100, size = 1, prob = 0.5)...
How is the bandwidth = 1.399776 calculated for the R function density() in this example ? x <- c(-3.5, 0.0, 0.5, 6.0) density(x)$bw [1] 1.399776
I apologize if this question is trivial, but I didn't come to a conclusion by myself. I have an aggregated forecast for a group of $n$ items, normally distributed with mean and standard deviation. $(\mu_F, \sigma_F) $ From this bulk forecast I am trying to go backwards to single item forecasts. From historical data ...
I am wondering can neural networks figure out some unknown transform? I have two vectors: $x$ - the original/truth value $x_{t}$ - the transformed version of $x$ One way to describe it would be $x_t=Fx$, where $F$ is the transfer matrix (Ex. Fourier matrix in Fourier transform). The problem here is that $F$ is an un...
Suppose we observe data $x$ from a distribution with density function $p_\theta(x)$ with unknown $\theta$, we have a prior density $\pi(\theta)$, and we want to minimize the following loss function: $$L_\epsilon(\theta, \hat{\theta}) = \begin{cases} 0 & \text{if } |\theta-\hat{\theta}| < \epsilon \\ 1 & \text{otherwise...
I have a training and a test dataset and both presents some missing data. I used the MICE R package to handle the missing values in training dataset and now I'm wondering how to handle them in the test data. I have two options: 1 - I can merge both the training and the test dataset and apply MICE function in this new d...
I have a classification problem (A or B or C). I am currently evaluating test set results from the trained random forest, neural net, and logistic regression models. Any one model works pretty well on test set when I require an A or a B call to exceed some probability threshold, for instance 80%. Otherwise it's C. I wa...
sample a from population: [1] 0.69784958 0.06326852 1.63127812 0.79297830 -0.37361933 -0.20305779 -0.27321559 [8] -0.06540687 0.90954359 0.41880990 1.20594584 0.68339223 -0.87355712 0.07544178 [15] 0.89045268 0.10113435 -0.73700255 -1.50056032 0.45599269 0.51620615 sample b from population: [1] 0.1703...
I got a residuals vs fitted plot with a clear downward pattern from a linear regression model and am wondering what are some of the sensible things to do in this situation? Doing a boxcox transformation does not help much in correcting the pattern (bc=0.3 from boxcox()). A log transformation (with an offset ) of the r...
I need to determine both the number of free parameters to estimate and degrees of freedom of a structural equation model. I know how to calculate these values by hand. However, when I use the R package lavaan, I get a different number. I calculate 59 parameters to estimate. library(lavaan) modelo1 <- ' ST ~ A*PA...
I know that logistic regression is for binary outputs and Softmax is for multiple classes. Would it be fair to say that Softmax regression is the same thing as multiclass Logistic regression?
When comparing the independent variables between two groups of one variable, I am would like to calculate the effect size. But I wonder if Cohen's effect size should only be applied to continuous variables? (At least I found that the effsize package only support a continuous variable) How about categorical variables? ...
Below is a table which I would like to understand the significance of each specific cell in terms of "is what I'm observing actually statistically significant"? I am aware of the Chi square test but this summarises the whole table's significance - I would like to look at the significance of each specific observation co...
I am using xgboost to train a classification model. Say, there are 1 million samples totally and my model's f1 score is 0.36. But when I add more 0.5 million samples which are close to some entries of my current dataset, the f1 score is below 0.34. Actually, the additional 0.5 million samples are close to (not equal t...
I would like to know how to plot the following 30 observations on a graph, with 1 color for each country, using Kmeans or other methods on R. Each of the 40 independent variables can take value from 0 to 100 (100 means the data point shows strongly the attribute). Thank you
We know outlier obs should be remove from factor analysis. Attach plot of this column data What kind of outlier should be removed and use which function in R?
I downloaded a dataset for intrusion detection. It's from the honeypot systems of Kyoto University (2013 dataset). I'll be using the dataset for training a neural network. My problem is how to process the dataset. Am I going to use vector space model or what? A sample from the dataset: 0.000000,other,0,0,0,0.00,0.00,0....
The slope is a Point Estimate of the population parameter. And the t-distribution is used when the Point Estimate is approximately normal. So are we using the t-distribution because we know the Point Estimate/The Slope is approx normal? If so, how?
I have a convolutional network (For details, please see the edit in the bottom) with training/testing errors that always look very similar to what is shown in the figure. In other terms, it seems that my model is overfitting without any generalization whatsoever from the begining. What I find also bizarre is its oscill...
I am currently reading Rasmussen & Ghahramani's paper on Infinite Mixtures of Gaussian Process Experts. (you can find it at this link) Unfortunately, I lack experience with understanding how complex statistical models are learnt, especially when multiple techniques are combined. As a result, there are a couple of point...
I have $m$ weakly stationary observations $X_1,X_2,\cdots,X_m$ from a Markov chain. I want to estimate the variance of the mean. My idea was to use nonparametric bootstrapping to make $n$ bootstrap samples from the $m$ observations and compute $n$ bootstrap means $\mu^*_i$. Then estimate the variance using $$ \widehat{...
I have a large set (100+) of variables on which I'm performing PCA. The PCA returns me a list of components, each of which is in turn a list of the weights to be placed on my variables in a linear combination. What I want to do is use these numbers to evaluate the relative importance of each variable in describing the ...
What is the difference between auxiliary variable and Latent variable when we talk about joint posterior density (when it is in complex form). Notice that, my work is based on continuous random variables. I want an example to understand it.