instruction stringlengths 9 38.7k |
|---|
I am working with 46 variables ( remote sensing time series data - 8 days composite ) and around 466 samples, and using it to perform classification into 4 classes (1, 2, 3, 4). I want to reduce these features to most important 10-20
I was assuming that I would consider those features with highest MeanDecreaseGini and... |
When performing polynomial regression for $Y$ onto $X$, people sometimes use raw polynomials, sometimes orthogonal polynomials. But when they use what seems completely arbitrary.
Here and here raw polynomials are used. But here and here, orthogonal polynomials seems to give the correct results. What, how, why?!
In con... |
This question relates to my other question, where I actually noticed a mistake. Suppose I have a random variable $X\in[0,1]$ and a signal $S\in[0,1]$ bearing some info about $X$. I know $f_X(x)$ and $f_X(x|s)$. Can I calculate $f_S(s|x)$ and/or $f_S(s)$?
To be more specific, suppose I have uniform prior and beta poster... |
When we have data with a lot of missing values, as I see it, the missing values are likely to be observed with some systematic properties. Maybe some sex is more likely to not answer a question and leave it blank, compared to the opposite sex, and so on. I'm just wondering, why exactly is it necessary to test for the r... |
I implemented a metroplis sampler for a 1D gaussian mixture, the target distribution looks like this:
I use a 1D normal distribution as propsal, that is each candidate is sampled from a normal distribution centered around the last accepted sample with a certain standard deviation.
If I use a small variance for the pr... |
In the Bayesian approach the posterior distribution $P(\theta|x)$ of some hyper-parameter $\theta$ is given by:
$$P(\theta|x) = \frac{P(x|\theta)P(\theta)}{P(x)}$$
Where $x$ are samples of a random variable $X$. In many cases the posterior $P(\theta|x)$ can not be analytically computed and is instead calculated numeric... |
I want to understand the logic behind using a specific type of NB algorithm for a particular dataset. I read about Naive Bayes but still few things are unclear.
According to my understanding of NB algorithm:
1.Gaussian NB: It should be used for features in decimal form. GNB assumes features to follow a normal distribut... |
I am trying to compare numbers in two sets (X and Y) to test if numbers in one of the set are statistically larger than the others. However, some of the numbers are paired, and some are not. For instance:
Set X: X1, X2, X3, X4, X5
Set Y: Y1, Y4, Y5, Y6, Y7
number in "X1" represent pairings, so (X 1, Y1), (X4, Y4) and... |
In light of this question : Proof that the coefficients in an OLS model follow a t-distribution with (n-k) degrees of freedom
I would love to understand why
$$ F = \frac{(\text{TSS}-\text{RSS})/(p-1)}{\text{RSS}/(n-p)},$$
where $p$ is the number of model parameters and $n$ the number of observations and $TSS$ the total... |
I‘m doing mediational analysis on clustered (AKA nested/multilevel) data. The question I have is not specific to mediational analyses but applies to any kind of multilevel analysis.
I‘m assessing whether the effect of SES (socioeconomic status) on an outcome is mediated by another variable. SES is a continuous individ... |
I've two samples representing the distribution of tumor cell clones in two patient. In sample 1 I've about 10,000 clones - each clone has a relative abundance (so the sum of the relative abundance of all clones in one sample is 1). For sample 2 I've about 1,000 clones. The number of clones are different for the two pat... |
I'm trying to forecast multiple time-series with a hierarchical structure using the hts package by prof. Hyndman. However, the aggregation constraints are not sums but rather a complex formulation (output of a non-linear regressor) of those different levels in the hierarchy.
One of the motivation for using hts remains... |
In many papers on CNN,I have read that data augmentation is carried out on a per epoch basis. My thoughts regarding this were that data augmentation is carried out prior to starting the training procedure on the train set. What I mean is that split the data into train and test, and then augment the train data. Is carry... |
This question is in regards to the Deepmind paper on DDPG: https://arxiv.org/pdf/1509.02971v5.pdf.
Most (all?) implementations of the DDPG algorithm that I've seen compute the gradient update to the actor network by $\nabla(J)=\nabla_{\mu(s|\theta)}(Q(s,\mu(s|\theta))\nabla_{\theta}(\mu(s|\theta))$, where $\theta$ repr... |
I constructed a model of the form:
mdl.gam<-gam(sqrt(y) ~ s(x1,fx=FALSE,k=-1,bs="cs")+s(x2,fx=FALSE,k=-1,bs="cs")+
s(x3,fx=FALSE,k=-1,bs="cs")+s(x4,fx=FALSE,k=-1,bs="cs")+
s(x5,fx=FALSE,k=-1,bs="cs")+s(x6,fx=FALSE,k=-1,bs="cs")+
s(x7,fx=FALSE,k=-1,bs="cs")+s(x8,fx=FALSE,k=-1,bs="cs")+
... |
I would appreciate statistical advice on this problem.
I have 3 years of data taken in defined area: 200x200km. Area has been divided into 4 quadrants and each year 20 random fields in the area were sampled in each quadrant giving 80 samples total per year.
The outcome is the number of diseased plants out of 30. So t... |
I would like to operate a Granger causality for employment and growth rate from the first quarter of 2000 to the fourth quarter of 2013.
Can I do that? Is the time period too short? What is the minimum number of years (especially in monthly-quarterly data) required to operate VAR and Granger causality?
|
I am trying to simulate a dataset that matches empirical data that I have, but am unsure how to estimate the errors in the original data. The empirical data includes heteroscedasticity, but I am not interested in transforming it away, but rather using a linear model with an error term to reproduce simulations of the em... |
Here is my study design:
there are four soil plots - A,B,C,D
each plot is sampled for soil moisture at 15 locations
this soil moisture sampling is done for 10 rain events
I need to compare the soil plots A to D for statistical difference of soil moisture.
First approach - I took an average for each location within t... |
As far as I know, for classification problems, there's generally a lack of a measure of probabilities in machine learning models, unless a customized probability structure is designed. Random forest, however, has a unique way of estimating probabilities, by counting the number of times a specific class is voted by tree... |
A colleague has asked me to assess the data analytic approach taken by one of his students for a previous experiment. If you want to skip the details of the experimental design skip down to Data analysis Part 2 and My questions below.
Experimental design.
In its simplest form, the experiment consists of a single subjec... |
On this Wikipedia page on 'conjugate priors' the following notation is used for the posterior predictive of a normal random variable with known mean $\mu$ but unknown variance $\sigma^2$:
$$t_{2\alpha'}(\tilde{x}|\mu,\sigma^2 = \beta'/\alpha')$$
Here's my interpretation of the notation:
$\tilde{x}$ is a new i.i.d. vari... |
I am new to this website and to statistics as well. Currently I am writing a systematic review on complications and reoperations after distal radius fractures(Systematic review on the comparison of complications and reoperations after plaster casting, K-wire fixation, Kapandji intrafocal pinning, external fixation, dor... |
I have set up a model for a mutli-factor ANOVA, and now I am trying to see if it meets the assumptions. I have a histogram of my residuals, as well as a qqnorm plot. However, I am having trouble interpreting. The histogram looks as if it has outliers, but other than that is fairly symmetric. The qqnorm does not look no... |
I am working with a dataset with an endogenous categorical variable. I wish to determine whether removing a path from the model has a significant effect in the model. I read that the appropriate way of doing this is to fit a sem with and without the path and then compare them using AIC values. However I am encountering... |
In my study, I have two groups, one exposure group (e.g. population A with disease) and a non-exporure group (population B without the disease) and I am interested in the outcome "Death". Data are matched, therefore, for each patient with the disease there are up to 10 patients without the disease. I have calculated th... |
I know how to find it for the regression slope, and also that $Var(Y_i)$ is $\sigma^2$, but what is $Var(\hat Y)$?
|
In sparse representations, we like to find representation of the input where most elements are nearly zero. On the other hand, in some applications we prefer dense representations such as word embedding methods in NLP (word2vec for example). What is the merit of each of these representations and where each are preferre... |
I am an environmental chemistry who is studying the impact of process efficiency improvements of a specific sector on global warming potential (GWP).
A have data from 288 firms and I have already applied multiple regression analysis on this dataset to obtain information on drivers to energy efficiency.
Let GWP of a sp... |
I'm trying to compute the power of a proportion test by hand. The null and alternative hypotheses are below and I'm using a significance level, $\alpha$ = 0.05
$H_0: p_1 = p_2$
$H_a: p_1 \neq p_2$
Let's assume the true value of $p_1$ = 0.69 and that the true value of $p_2$ = 0.68. Based on this, we can calculate the es... |
I know you can estimate odds ratios based on logistic regression of case control data because the baseline risks cancel out. Does this mean that only the intercept is contaminated by the analysis of case control data in logistic regression?
And furthermore, does this mean that the predictions are all off by the same f... |
In the case where I have multiple samples of the same event, but they are very noisy, thus rather obscuring the curve/trend (or at least making it incredibly ugly and confusing), what is my best bet to clean it up (create a derived data set for the purpose of aiding visualisation/analysis/understanding)?
I figure that ... |
In my study that I am writing up for university:
There were a total of 204 participants, 96 female (47.1%) and 108 male (52.9%). The participants were aged between 20 and 125.
The problem I have is 125 is older than the oldest verified person. Do I include this in my descriptive statistics, and in the general data ana... |
I have a data set from a PC user that is related to the number of user files generated during a 3-year period. It stores how many files per day are created. There are some days when the user doesn't create files, and this is omitted from the data set. Using R, I created a variable with this data using
allday <- c(1,1,... |
Let $x_j,\ j\in\{1,\cdots,n\}$ be independent standard Gaussian random variables and $a_j,\ j\in\{1,\cdots,n\}$ be constants. What would a function $f$ and a standard Gaussian random variable $x_0$ such that $f(x_0)$ is a good approximation of the probability distribution of $\sum\limits_{i=1}^n e^{a_ix_i}$?
For small ... |
I am working on the system that collects optical emission spectra and classifies them into several categories. The classification success rate with the samples that are available to me at the moment is 100%. However, I am trying to future proof the system in case if the new requirements for additional materials to be c... |
This problem comes from something we do each Thanksgiving. This past Thanksgiving we had 19 (N) people at dinner. Each person writes something for which they are thankful and puts the slip of paper into a bowl. The slips are mixed up and each person draws a slip. This past holiday, someone got their own slip. My qu... |
I'm analysing data from a paper in which 4 raters; medical professionals, estimate the volume of an organ, they do this twice, for every organ. I want to compute inter-rater and intra-agreement on the results; there are six equations to compute ICC (as listed in Wikipedia):
Shrout and Fleiss Name in SPSS
conven... |
The random forest model is simply voting the response variable to be one class and the error rate is 19.22%. The rate is impressive, but I'm just wondering how I can make the model favor the second row and column more? Thanks.
randomForest(formula = y1 ~ . - y1, data = df1, ntree = 20000)
Type of random for... |
I am trying to compare the reliability of two different assessment methods (method 1 and method 2). Each method assesses task performance for a single cohort of students (N = 50).
For method 1, student performance is rated by 4 judges (who vary across students). The assessment method assigns students a numeric score.
... |
Suppose that initially I am dealing with the log-likelihood function $\log L(\theta_1, \ldots, \theta_m, \theta_{m+1}, \ldots, \theta_k)$, where $\theta_j \in \mathbb{R}$.
Suppose that for whatever reason I decided to input into $\log L$ some first-stage estimates $\tilde{\theta}_{m+1}$, $\ldots$, $\tilde{\theta}_k$ o... |
- I am trying to figure out if it is possible to get the value of
$\beta$ for regression line from Anova-table. So far i see that SST =
SSE + SSM which is equal to (SST = $\sum(y_i-\bar y))$ but i don't
understand from where do i get the value of $(x_i - \bar x)$
because $\beta $ value is calculated by $\... |
I was checking a proof in my textbook and it says that $E( \epsilon (x_i - \bar{x} )) = SST_x$ (this being the $\sum ( x_{i} - \bar{x}) ^{2} )$ but I cannot figure it out why.
There are 5 assumptions of OLS (linearity in parameters, random sampling, sample variation in explanatory variable, zero conditional mean) a... |
I built a recommendation model on a user-item transactional dataset where each transaction is represented by 1.
model = LightFM(learning_rate=0.05, loss='warp')
Here are the results
Train precision at k=3: 0.115301
Test precision at k=3: 0.0209936
Train auc score: 0.978294
Test auc score : 0.810757
Train recall ... |
I have a dataset consisting of number of mutations per person. Covariates I think may be related are age and source of the DNA sample. I want to determine whether the disease the person has significantly affects the the number of mutations they have.
I determined using these two guides (http://www.ats.ucla.edu/stat/r/d... |
My question is very naive so please bear with me. (And it's been probably asked before but I may not know the correct keywords.)
Imagine I have a quantity $Q$ associated with each member of a population and this population is a priori divided into two subgroups $A,B$ . I'm interested to see if my quantity can tell to w... |
I am trying to assess predictive validity of a discrete choice model. When with a testing set consisting of 6 choices in each set, it has the hit ratio of 33% (i.e., 33% of the time it correctly guesses the actual choice in the testing set).
How good or bad is it? Understandably, if the model was tested on sets of 2 ch... |
Apologies straightaway if this question is not appropriate for this forum...I've already been downvoted out of the house on Stack Overflow...
I have built an optimization model at work in Excel....but Excel solver is not the best, to put it kindly. I get a different answer every time I run it...
I'd like to try impleme... |
Given
\begin{equation}\label{eq:definition_of_z}
\begin{split}
\textbf{Z} = \left[\begin{array}{cccc}
{z}_{11} & {z}_{12} & \cdots & {z}_{1P} \\
{z}_{21} & {z}_{22} & \cdots & {z}_{2P} \\
{z}_{31} & {z}_{32} & \cdots & {z}_{3P} \\
\vdots & \vdots & \ddots & \vdots \\
{z}_{M1} & {z}_{M2} & \cdots & {z}_{MP} \\ \end{arra... |
So suppose you have two sequences $\{Y_t\}$ and $\{Z_t\}$ and they are both iid and independent from each other. Now suppose I have a time series $\{X_t\}$ such that...
$$\{X_t\} = Y_t(1-Y_{t-1})Z_t$$
What would be the variance of this time series?
If my understanding of this is correct the process would go.
\begin{ali... |
Suppose that we have several randomized trials over two treatment options for cancer, and we take note if cancer recurred after taking the drug or not. As a clear-cut example, I have included a sample dataset with 14 randomized trials over cancer treatment of Tamoxifen and a Control:
For each study, Rec. means if it r... |
I'm beginning to learn about neural networks, and I'm doing a beginner's project on classifying whether an email is spam or not spam. I have a few thousand data points, each has a few dozen features (frequency of letters, certain statistics, etc.)
I created a simple neural network with 1 fully connected layer and a sig... |
I hope that this question is appropriate for this site; I have tried Math.SE, but haven't had much luck so far. I am dealing with the following scenario:
A fair coin is tossed, and we record the result "heads" or "tails" as random variable $Z$. If a head is observed, a random sample $X_1,\dots,X_n \sim \text{Bernoulli}... |
I have a dataset with a binary outcome, y.
I'd like to run a decision tree on the data, but y == T is very rare, and so every leaf of the tree predicts y == F.
Is there any problem with sampling based on y, e.g., just using the N cases where y ==T and N random cases where y == F?
|
When performing model selection, suppose you wanted to select the number of hidden layers for your deep net. That would be too expensive to perform cross-validation on the training set to determine which model is the best using a paired t-test on the k-folds.
You would then do a split of your dataset into a training/va... |
There are different ways of scaling variables in k-means clustering. I can divide all variable by sum of that column, I can take z score,I can have (max(var)-value)/(max(var)-min(var) etc.
How selection of variable scaling/normalising would change clustering result? I have done clustering on 1 million rows with 20 cont... |
I don't know what I'm doing wrong. I'm using DL4J, and I took their XorExample class (which trains a feed-forward network to perform xor) and tried to modify it to multiply two inputs between 0 and 1 (500 samples of this; three values: the two inputs, and their product). The weights appeared to just explode (or vanis... |
What is the expected value and the mean of sample standard deviation?
I know that I can derive the expectation and variance of sample variance using the $\chi^2$ pdf. But I don't know how to start with sample standard deviation.
|
I am trying to solve a problem using HMM where the observations Yt are the result of both known and hidden parameters, but unfortunately, I am not sure how to combine the known and hidden parameters for both training and evaluation of the HMM. I have looked at general Bayesian networks for a hint but am not finding wha... |
I am new to statistics. I have some programming background but am a novice in statistics. I need some help/direction identifying methods/technics to solve below problem.
I have multiple time series, around 100. Each time series potentially have 100K to 1M readings/measurements at equal time intervals. Out of which, all... |
What's the input to the decoder part of a sequence to sequence autoencoder? I've seen certain examples of such an autoencoder (using LSTM's more often than not) but am still unclear.
For example, here in this often-cited paper by Dai & Le ('Semi
Supervised Sequence Learning'), we have the following diagram:
What's th... |
Categorical time series such the genomic DNA, the sleep state of a person $\cdots$ etc, are often treated and analyzed. The first question that came to my head was how can such type of series be a white noise? is there a definition for categorical white noise (I haven't found any definition).
Edit: $X_{t}$, for $t = 0... |
We have 2 chemical parameters measured for material 1 and 2. We are interested in finding out the probability of an unknown sample being the mixture of the two reference materials.
Also determination of the mixing ratio would be nice too.
Is this what is called mixture probabilities and mixture models?
Would it be poss... |
What is the difference between t test and chi square?
Which test to be used for my below hypothesis and why?
"Is there a difference between gender (male/female) on voting behavior?
Can I use both chi square and t test?
|
I am having problems to interpret the output of lme on my model. Here is the model;
model2 <- lme(Kfs~Density+Treat+Year, data=inf, random=~1|SiteNo/Plot, na.action=na.omit).
Kfs is Field- saturated hydraulic connectivity and Density is Bulk Density and these values measured $2$ times in $2$ years, so they are repeated... |
I am new to survival modeling and the Cox-PH model is quite simple with
$$
\lambda(t|x;\beta) = \lambda_0(t) \exp(x'\beta).
$$
where $x$ does not depend on time. I'm wondering if it is also possible to include time and functions thereof as covariates in order to make less strict parametric assumptions regarding the bas... |
In reinforcement learning, policy improvement is a part of an algorithm called policy iteration, which attempts to find approximate solutions to the Bellman optimality equations. Page-84, 85 in Sutton and Barto's book on RL mentions the following theorem:
Policy Improvement Theorem
Given two deterministic policies $\p... |
How can I derive the unconditional mean of a VAR(1)?
|
I have a dataset with some NaN values.
I'm fairly new to Machine Learning etc.
Trying to build a model in R. What is the best way in Machine learning to deal with missing Values? Is there any Machine Learning Algorithm which does not care about that?
|
I read that a problem with the Classic approach to deep NN is the vanishing gradient, which is caused by the derivative of the logistic activation function - broadly speaking, the update flowing down through the network becomes ever more small.
In fact, the value of the logistic's derivative is at most $0.25$, and acro... |
Normally, if analysing cohort data, I would expand on time using the Lexis macro (if using SAS) and then calculate the expected number of deaths as the life table central mortality rate (mx) matched on age, sex, year multiplied by the exposed time to risk (y) for each cell (i.e. mx*y=expected deaths).
However, I have ... |
I am using the knn means algorithm to distinguish groups. In case on the iris dataset, lets take this example:
from sklearn import datasets
iris = datasets.load_iris()
X = iris.data
I understand that I can create different clusters with k. What I am looking for however is a way that can help me to determine what is t... |
I have previously asked this question but should have provided more detail on the question.
I have been presented with multiple choice test results relating to intelligence and overall job performance test scores.
I have been asked to test significance and strength of the link between scores on the first test and subs... |
Probability that i don't get $6$ while throwing a die $10$ times. I used binomial distribution: $ {N \choose k} (p^m (1-p)^{n-m})$ Is it right to solve this with this formula? ${10 \choose0} (\frac 1 6)^0 (1 - \frac 1 6)^{10} = 0.15$?
|
I have a problem where I need to compute many times the SVD of a "quasi-diagonal" matrix.
What I call a quasi-diagonal matrix is a diagonal matrix, except its last column. For example, an (m+1)-quasi-diagonal matrix:
\begin{bmatrix}
d_1 & 0 & \dots & 0 & x_1 \\
0 & d_2 & \ddots & \vdots & \vdots \\
\vdots ... |
Short Version: can I substitute the Moore-Penrose generalized inverse of a matrix (R function ginv()) for a matrix inverse (R function solve()) when computing standard errors in a maximum likelihood estimate?
Long Version:
I am applying Hausman et. al.'s model for estimating the probability of misclassification in a b... |
This is for a university essay.
The data that I would like to compare are General Self Rated Attractiveness (GSA) and Sexual Orientation Index (SOI). There are 203 individuals with each with an SOI value and a GSA value.
GSA data is on a scale from 1 - 7
SOI is a measure of interest in casual sex. The higher the score... |
I read that while doing inference in Bayesian network with variable elimination, any order will do.
Say I want to have the below network, where every random variable can be T/F with given probabilities given its parents state.
I want to calculate P(B=T), and I want to eliminate P(A) first. Can I do that?
I started by... |
Knowing that in cluster sampling the population is divided into clusters and a simple random sample is taken of them and then all the elements of the chosen clusters are sampled, are the clusters in the beginning made randomly?
|
I'm new to this forum but already have my first question. I'm a biology student, thus my knowledge about statistics in general is rather low ;)
I've measured the size of cells of different genotypes and treated with different growth factors and got the diagram below:
Each facet represents another genotype whereas the ... |
Ive been working one a gender recognition problem from dataset containing pictures features. Normally the problem is a binary classification, meaning the training contains labels -1 if it's a female and 1 if it's a male.
X_train shape = 105600 rows ( people) for 128 columns (the features)
Im using SVM classifier with ... |
Currently I am preparing for my exam. Therefore, we have a sample exam with the answers included. Unfortunately, even with the answers it not all makes sense to me. This is the question with the answer provided:
Let $\bf{x}$ be a random vector with expectation $E(\textbf{x})=\boldsymbol{\mu}$ and covariance matrix $Var... |
I am developing a machine learning algorithm to validate a markov chain sequence.
Currently I have :
1. A ngram predictor which predicts the next state from the state history and will check whether this state occurs in the next time step.
2. A function to check the time spent on each state and to compare it with the ... |
I completely understand what is the intuitive sense of the single R.V mean. However, I was solving a math problem to find the expected value of the sum of two independent random variable, which is can be found by
$$\mathbb E[x+y] = \int (x+y) p(x) p(y)\, dx \,dy\tag 1$$
So I said, yes it makes sense, since we want to f... |
Suppose, it is stated that $X$ is a random variable which has a symmetric distribution.
Now, let us consider $Y$ to be a random variable which has a distribution given by : $Y = g(X)$, where '$g$' is a non-linear function.
By a non-linear function, I mean that it can be either a logarithmic or a cubic function, i.e., o... |
I am trying to show the following markov chain is aperiodic (it could very well not be)
$S = \mathbb{Z}$ and $h : S \rightarrow (0,1)$ with $h(i)>0 \space \forall i \in S$ and $\sum_{i \in S}h(i) = 1$
the probabilities on $S$ given by $p_{ij} = (1/4)min(1,h(j)/h(i))$ if $|i-j| \leq 2$ and $i \neq j$, and $p_{ii} = 1-p_... |
I just started to learn data mining. I have learned that cross validation can be used to compare models (e.g. svm vs logistic, etc) and to do tuning (like regularization parameter) .
I have a dataset. I split it into training and testing set and then used training to do cross validation to compare different models and... |
I administered a questionnaire, and one of the questions asked: Indicate all of the activities you did while on your most recent trip (please select all that apply). There are 20 or so options to choose from. I copied this question from a questionnaire asked by a government organization however I excluded some of the... |
If $X$ and $Y$ are two random variables that can only take two possible states, how can I show that $Cov(X,Y) = 0$ implies independence? This kind of goes against what I learned back in the day that $Cov(X,Y) = 0$ does not imply independence...
The hint says to start with $1$ and $0$ as the possible states and generali... |
I am conducting several hypothesis tests for caterorical variables, with several groups being compared.
I routinely use the Fisher exact test in Stata, but occasionally it may get time consuming and computationally intensive, forcing me to switch to a standard chi-squared test.
I do that assuming that the chi-squared t... |
I am reading about logistic regression (from https://piazza-resources.s3.amazonaws.com/h61o5linlbb1v0/h8exwp8dmm44ok/classificationV6.pdf?AWSAccessKeyId=AKIAIEDNRLJ4AZKBW6HA&Expires=1485650876&Signature=Rd4BqBgb4hPwWUjxAyxJNfPhklU%3D) and am looking at the negative log likelihood function. They take the gradient with r... |
It seems to be common to take a "high" condition number as a sign for multicolinearity in regression analysis. For linear models I'm totally convinced that this is a good idea, but is there any analysis on how colinearity influences the condition number of logistic regressio models?
I can't find any and simple simulati... |
I have the following case.
Say I have a set of 100 celebrities and I form 4 clusters using k-means. Lets assume that these 4 clusters are music, sports, politics, movies.
Now say if I want to include 2 new data, will clustering work? If so how will the data be included to appropriate clusters... I mean do I have to sta... |
I'm studying k-nearest neighbor algorithms and the book I'm reading mentions that records are weighted according to their inverse square in order to perform weighted voting.
so I was wondering what do they mean by "inverse square" the example in the book is:
$\text{votes(record)}= \frac{1}{d(a,b)^2} = 1/0.004393^2 \sim... |
I have a B.S. and M.S. degree in Statistics. I have experience in R. I know the basic structures of Python [Expertise Level: Beginner]. I would really appreciate if you can share with me some resources (preferably, MOOCS and videos).
|
Consider the time series
$$
x_t = B_1 + B_{2}t + w_t,
$$
where $B_1$ and $B_2$ are known constants and $w_t$ is a white noise process with variance $\sigma^2$.
Show that the process
$y_t = x_t - x_{t-1}$ is stationary.
For finding Covariance I cant seem to understand what to do.
|
I've been going trough Machine Learning in Action book from manning (https://www.manning.com/books/machine-learning-in-action)
In the logistic regression chapter it uses gradient ascent to calculate the best weights.
Why do we pick gradient ascent instead of gradient descent ?
|
For $y = \frac{1}{4}\text{ }x\text{ }e^{-x/2}$, my initial hunch was that it is a normal distribution but I wasn't able to figure out what the mean and variance would be. What is it? What are its mean and variance?
|
In the following data, I am trying to run a simple markov model.
block_M1 block_M2 hybrid_block block_S1 block_S2
A|T T|A A|C C|G T|A
T|G C|T T|A A|T C|A
C|A A|G C|G G|A C|G
G|T A|T G|T C|T A|... |
I apologize for the verbose description, but (after searching several places for an answer) maybe the best way to phrase it is to lay things out explicitly.
Say we are trying to build an SVM model for classification, and our data consists of $m$=1000 training examples with $n$=15 features.
We start with the 'Primal'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.