instruction stringlengths 9 38.7k |
|---|
If I naively apply STL, Holt-Winters or Kalman-Filter approaches to the problem of extracting the seasonality and trend components of a one-minute data stream, I will end up with about 10K cyclic sub-series. Not only does this impose computational problems, it inconsistent with my expectation that the seasonal and tren... |
I have several models that I want to ensemble together. I know that this will only help if the models are uncorrelated, e.g. they don't make the same mistakes. Is there a way to figure out if any two models are correlated without actually testing them individually using the data?
|
Suppose you have a sample $X_1, \ldots, X_n$, $n$ large, from a multivariate normal distribution $N_p(\mu, \Sigma)$. It is easy to show that $D_i := k(X_i - \bar{X}_n)'S^{-1}_n(X_i-\bar{X}_n) \sim T^2_{p, n-1}$, for some constant $k$ and $\bar{X}_n = \frac{1}{n}\sum_{i=1}^n X_i$ and $S_n = \frac{1}{n-1}\sum_{i=1}^n (X_... |
I know it looks like a duplicate, but wait!
I am analysing survival data in R, and have a little trouble correctly interpreting the results of the Cox-Regression. I have read the other (amazing) CrossValidated posts about the subject, but still have a little doubt.
For instance, I am looking at if radiation therapy has... |
Given the dataset:
d = structure(list(x = c(22.9362216327734, 24.4504147133069, 23.2710364752618,
22.5253827558421, 24.8139647577093, 22.8804536162757, 24.3948588709677,
25.4304112554113, 25.7243410214168, 26.6003943661972, 26.0698382492864
), y = c(3.536, 3.867, 4.482, 2.033, 2.912, 3.958, 5.445, 6.973,
5.1... |
I am not sure how to get the PMF of a linear combination of two geometric variables
Question:
A university gives placement exams in math and verbal skills. To the nearest minute, the time it takes student to complete math exam has geometric distribution with parameter 0.02, and the time it takes a student to complete t... |
Given $S = (X_1, \ldots, X_n)$, where each $X_i \in \mathbb{R}^2$, are there algorithms that produce $(X_{(1)}, \ldots, X_{(m)})$, where $m << n$ and the $X_{(i)}$ are sampled from $S$ to fill space (e.g. maximize distances)?
My problem arises from where the $X_i$ are iid bivariate normal, $n=10000$ and $m=100$. I wan... |
I'm trying to find the positions of crabs in a bunch of images, and I'm having annotators click on all the crabs they see in an image. Naturally, annotators won't click in the exact same places for the same crabs, and they might not see all the same crabs.
In order to infer the real positions of all the crabs, I was th... |
Lets say I have a set of N items, and I want to choose the best one.
Each item is represented using 6 feature.
I could fix N but it would be nice if it can vary.
The "best choice" might depends on what other item is present in the set
Is there a way to formulate it?
|
Is there a more comprehensive Statistics choosing framework than the following:
from Charlie Kufs from Stats with Cats Blog
|
I know from Bayes theorem we have the formula "posterior $\propto$ prior * likelihood" or more concrete $Pr(\theta|D) \propto Pr(\theta)Pr(D|\theta)$ with $Pr(\theta)$ is prior distribution of parameter, and $D$ is observed data. But in a book I read when apply it to the following situation, the result confuses me.
... |
Below (in R), I have two independent groups of scores that are binomially distributed. These two groups of scores are known to have different probability of success (i,e., $p_1 \neq p_2$).
Let's now assume two scenarios regarding the probability of success within each group:
(1) The probability of success within each g... |
I realized that the density() function in R which computes the kernel density estimation have the kernel scaled so that the bandwidth bw specified in the argument is the standard deviation of the selected kernel (e.g. “gaussian”, “epanechnikov”..) . For easy reference, below is the definition given in R:
bw - the smoo... |
I have this problem. I am doing a university project that is about estimating a time to breakdown of a bus engine. I believe that Survival Analysis is the approach that I should use, but have some doubts since I am very new with this problematic. I have data of ALL engine breakdowns of entire bus fleet of Public Transp... |
I'm planning to strengthen my statistics this vacation, and I was planning to watch statistics classes online (preferably free...) during the break. There are so many classes online and I am just lost with all these options. Please do recommend to me some good ones.
(Please do note that I am an economics student)
|
Let say I do the regression task(I am using the deep neural network) for some skewed distribution. Now I am using mean absolute error as loss function.
All typical approaches in machine learning are minimizing mean loss, but for skewed that is unappropriating. It is better from a practical point of view to minimize me... |
I have two data sets, disposed in a 3Dplot. one set represents the interpolated data, the other the analytic. Each set lies on a separate grid.
I have plotted the data with python matplotlib on a linear scale for each dimension.
The problem is that it is difficult to appreciate the difference between the two sets.
Wh... |
In R, I am doing survival data analysis of cancer patients.
I have been reading very helpful stuff about survival analysis in CrossValidated and other places and think I understood how to interpret the Cox regression results. However, one result still bugs me...
I am comparing survival vs. gender. The Kaplan-Meier curv... |
I am working with a binary data set. There are 'm' bacteria models and 'n' attributes (i.e. genes) in total. The data set represents the attribute composition in each model (1 for present and 0 for absent). Below is a view of the data set. As shown all the models do not have all the attributes. However there are some a... |
I have in my possession the answers to an annual survey of 21,030 departing passengers with information on the amount of their purchases, their destination, the reason for travel etc. After a few weeks, I estimated the turnover generated by each passenger leaving and I now have the task of analyzing the possible correl... |
What are good alternatives to grid search? By this I mean some techniques/packages for Automated Machine Learning that can optimize model parameters in 'auto' mode.
First question is what techniques can be applied to solved this task: for example genetic algorithm, bayesian optimization, etc?
Second question is how wel... |
This question is related to my other question ( Need help with a model, Whatsapp data analysis ).
Suppose we have random variables $X_1,\cdots,X_m$ bernoulli distributed with probability $p$, $D_1,\cdots,D_m \sim Exp(\lambda_d)$, $P_1,\cdots,P_m \sim Exp(\lambda_P)$ and let $d_i := X_i D_i + (1-X_i)P_i$ for $i=1,\cdots... |
Setting
People were requested to make a yes/no-decision in overall 8 conditions. Hence, I have a 8x2-contingency table (per condition amount of yes and no decisions).
Aim
I want to check whether there are differences between those conditions regarding decision behavior.
Question
Can I apply $X^2$-test here or is $X^2$... |
I'm aiming to predict future roughness for paved roads and have a ton of road data. The roughness is measured, often every year, sometimes less and sometimes more often. It's probably varying not only with time but also with paving type, paving method, trafic load etc, hence I chose to train a neural network to predict... |
Ive got 6 tables and each of them have multiple rows. The tables are :-
candidate_general_info, previous_employment_history,
previous_health_issues, present_health_issues, family_health_history, present_claim_information
based on attributes whether to approve the claim or reject it.
candidate_general_info : This ... |
I try to use a LSTM model for a problem of next basket recommendation. I would like to apply the same approach as this article in Python using Keras : A Dynamic Recurrent Model for Next Basket Recommendation
So basically (tl;dr), I want to predict the items that the users will purchase in their next order based on thei... |
I need some help to understand the relationship between the ranking of the variables from the LARS algorithm and the use of OLS to estimate the final model chosen by the LARS.
I understand that the LARS algorithm is less greedy than forward stepwise regression because it does not require additional predictors to be or... |
I believe several variants of this question have been discussed previously, but I'm still not clear on the appropriate approach so I wanted to ask my specific question here.
I've used elastic net regression to train a classifier (logistic regression) on a set of ~54000 observations, each with ~200 features. I have sign... |
I try to classify a brainstate (binary problem) on fMRI-data using a SVM (scikit-learn, which wrapps libsvm).
Also I use clusters arround local maxima in group-level TMaps as mask for the subject scanns, leading to roughly p=1500 features. Given between 85 and 90 examples, using a 5 fold cross validation I have a train... |
There are two groups: control and experimental, mean difference is 10% between experimental group and control group [if there are X successes in control group then there are 1.1 * X successes in experimental group], significance level is 0.05, power (sensitivity = (1 - beta)) is 0.8. The number of patients in groups ar... |
I'm using Tensorflow to implement a RNN (LSTM) network to classify a very small dataset (1500 samples) of timeseries (64 steps, 72 features) which represents movement. These samples could come from the same origin so you can have in both in train and test. Not the same movement but a similar one (because the same origi... |
I have an OLS with continuous outcome and a mix of continuous/categorical predictors. For categorical predictor X, which has 5 categories, one particular category X_5 dominates in terms of volumes --- it is 70% of the data. The other 4 categories combined are only 30%. When I create dummies for these categories X1,...,... |
I have a dataset with 10 variables
The last variable is a factor variable with levels 1-2-3-4-5
My prof thinks that the units that has the attribute 1 and 3 May be merged in a new factor levels bevande they May be the dame.
How can I see if those units has the same structure in the data?
|
I have the solution to this problem but I don't really understand it.
Let $f_X(x) = \dfrac {1}{10}, \ x = 0, 1, 2, ... 9$ and $h(Y|x) = \dfrac {1}{10-x}, y = x, x+1, x+2, ..., 9$.
a) Find $f(x, y)$.
b) Find $f_Y(y)$
This is the solution my professor posted:
I am having trouble understanding part b). As I recall,... |
I am reading The Elements of Statistical Learning (Hastie, Tibshirani and Friedman, 2009), more specifically the section on regression decision trees (p. 307 of the book). There is something I do not understand about their splitting algorithm. The authors are explaining the mechanism to derive the splitting variable an... |
How to use t-test for comparing two different models (or same model with different feature input)?
EXPLANATION: I have a Logistic Regression model with huge amount of parameters. I want to compare it with LR, but on smaller set of parameters USING t-tests. I am not looking for another solutions, cause I want to underst... |
What's exactly the null-hypothesis of this test?
Does it test for having a normal distribution with specified parameters or just generally?
I've searched it on the internet, but I haven't found anything about the hypotheses. I want to use it for analyzing residuals in linear regression.
|
I have data with 3 columns: y represents dependent continuous variable, xcont represents independent continuous variable, xcat represents independent categorical variable with 3 levels: xcat1, xcat2, and xcat3.
I am doing simple model with interaction:
y = xcont + xcat + xcon*xcat
The results show that xcat1 and xcat2... |
I am trying to model solar irradiance data. I have data per minute for like 6 months. Naturally during the night solar irradiance = 0 and over the day it creases and then drecreases. I have many data about 400,000 observations.
The main problem is what kind of architecture and type of Neural Network should I use? I wou... |
So I’m looking at a data set. I am thinking about a logistic regression method for it because we’re looking at many different surfaces in households and whether they were positive or negative for a specific bacteria markers, given the distance from some different potential sources and whether the households have pets. ... |
I am doing spectrum analysis. For two given bands, I find out the percentage utilization. I have percentage utilization on the x-axis and the estimated pdf on y-axis.
To make you follow how I got these plots
I load the measurement files which have the energy values
then I find the duty cycle per row as (I sweep once... |
I am given a Likert-type rating scale which comprises 6 items. Items have a different number of possible scorings, namely:
Item 1 [0,1,2,3]
Item 2 [0,1,2]
Item 3 [0,1,2,3]
Item 4 [0,1,2,3]
Item 5 [0,1,2,3,4]
Item 6 [0,1,2,3,4]
I have a cohort (N=100) of participants with responses to these questionnaire.
OBJECTIVES
... |
Below is the NAND Gate truth table, there are 2 independent features A,B and one dependent feature Y in the dataset.
Can we make the machine learn this if YES how ? if No why ?
Please go through the attempt below where the classifier model stumble on [0,0] point and can't predict it correctly giving .75 accuracy.
imp... |
I work with SPSS 22.
I had a dataset and run Multiple (100) Imputation on it. Received the output and someone significant variables.
The cases in my dataset have a specific outcome, and I would like to see what kind of outcome I would get after running ordinal regression on the new dataset. The ordinal regression gives... |
I wanted to observe the performance improvements in older people playing online cognitive games. I had 33 participants that were playing 35 online games freely and independently during 10 months. Some participants played more than others. Every time they were playing a specific game a record was created. By the end of ... |
I've been using the R packages MatchIt and Zelig to estimate the Average Treatment Effect (ATE) for a health care study with propensity score matching.
One approach for estimating the ATE is as follows:
m.out <- matchit(treatment ~ x1 + x2 + ...,
method = "nearest",
ratio = 3,
exact = c("x1"),
... |
I have data for a school class of grades and family income(*). To see whether the richest kids do better, I find the spearman rank correlation coefficient for the grades and income of the kids in the class. To figure out if the result is statistically significant I can consult a table.
Now suppose I have this data for... |
The goal is to sample from a uniform distribution ${\bf x} \sim U({\bf x})\in\mathbb{R}^N$ subject to
$\left\|{\bf x}\right\|^2 = \delta$ (sphere constraint),
$x_i \in [\min_i,\max_i]$ (box-constraint on each element)
${\bf v}^\top\!{\bf x} = \delta$
for a given scalar $\delta > 0$ and ${\bf v}\in\mathbb{R}^N$. What... |
I am trying to model a response variable, the weight of a variable (can't be thought of a binomial distribution as it involves no success/failures), that falls between 0 and 1. That is, the response variable always has to lie between 0 and 1. Here are my alternatives:
Do a logit transformation of the response variable... |
I have seen in several texts that: "We learn separate models for each class/category". What does this mean and how is this different from learning a single model to classify all the classes?
|
Given N different time-series and a new time-series for the same time period, what would be the correct approach to finding a linear combination of the N time-series which best describes the new time-series?
*I'm new to the field so this might be a simple question with a simple answer, I just want to be sure I'm in the... |
Quoting from this paper, second paragraph: https://arxiv.org/pdf/1606.04080.pdf
[Deep] learning is still slow and based on large datasets...this, in our view, is mostly due to the parametric aspect of the model, in which training examples need to be slowly learnt by the model into its parameters.
Assuming the claim ... |
Suppose we have a list of items $I_1,\cdots,I_K$, and we would like to order them by popularity using a Multi Armed Bandit approach. As a concrete example, imagine we're trying to advertise a toy on the internet and each $I_k$ is an image of the toy, so that we're trying to figure out which image has the highest click-... |
I have a marketing events for online website where i have different events like
Sequential ->
1) User from Google (P)
2) User from Youtube (P)
3) User from Facebook (P)
4) User Viewed Product
5) User Added product to cart
6) User Bought Product
...
Now our company is spending some amount of money to bring them from ... |
Let us say that I have two economic time series $Y_t$ and $X_t$ (both $I(1)$) and that I have good theoretical reasons to expect that the values of $X$ influence $Y$ with a one-period lag. Then, I want to test for cointegration, to see if a long-run relationship like $Y_t = \beta_0 + \beta_1 X_{t-1} $ holds.
When perfo... |
I have three graphs as show below (the last one is split because I couldn’t take a screenshot with everything together)
What’s a good approach (from a UX standpoint) to combining all three graphs into a single visualization? What kind of visualization should I be looking at?
|
Background:
The least-squared error fit has been around for some time.
Laplace, P. S. "Des méthodes analytiques du Calcul des Probabilités." Ch. 4 in Théorie analytique des probabilités, Livre 2, 3rd ed. Paris: Courcier, 1820.
Gauss, C. F. "Theoria combinationis obsevationum erroribus minimis obnoxiae." Werke, Vol. ... |
My objective of a meta-analysis is to identify important predictors (~50 variables) on 1 response variable. I have a total of 550 observations from 7 projects. Before I can identify important predictors, I need to control for 3 categorical variables (project = 7 levels (p1,p2,p3,p4,p5,p6,p7) species = 3 levels (s1,s2,s... |
Original Question
Suppose we have a sequence of Bernoulli trials $X_1, X_2, \cdots X_T$ which are ordered in time and may or may not be independent. I am interested in understanding the probability of success.. The way I'm thinking about it, I have two primary options.
Consider the trials, $X_t \stackrel{iid}{\sim} Be... |
Given that ANOVA is a special case of linear regression I recently wondered if we shouldn't use a correction for multiple testing (e.g. Bonferonni) as we would typically see in ANOVA.
As a very simple example suppose I am testing whether the wage for five job types (A, B,C,D,E) is the same on average, and if so how.
Wi... |
I am fitting mixed model with X fixed effect design matrix Z is random effect design matrix.
Consider the mixed model:
E[y|u] = X $\beta$ + Zu
with E[u] = 0,
y ~ (X$\beta$, ZDZ' + R), var(u) = D
V = var(y) = ZDZ' + R
We take y to be normally distributed:
y ~ N(X $\beta$, V),
estimating fixed effects for V known
Acc... |
Anyone got any suggestions? I tried finding an estimator explicitly and showing it had to be consistent, along with showing the consistency of the mle but neither seems to be working. Think I'm just missing a trick somewhere.
Let $X_i\sim\mathrm{Bernoulli}(1/2+\theta\cdot a_i)$ where $\left\{a_i\right\}_{i\geq 1}$ is a... |
I would be grateful if someone gives me some advice regarding the difference between the results that we got from the regression with original variables and regression with PCA components.
iris.train <- iris.train[,1:4]
A <- lm(Sepal.Length~., data=iris.train)
summary(A)
iris.train. <- iris.train[,-1]
pc <- prcomp(iri... |
It is about Linear, Ridge and Lasso regressions.
If features are not standardized, then there is no way we can say something about the coefficients because the change in units (from cm to m) will either decrease or increase the coefficients.
So, it gets more interesting when features are standardized. It is stated in t... |
In Short: Given a set of data and a specified 2nd order polynomial trend line, how can I go about testing a hypothesis that the line describes the data?
I'm not asking to do a linear regression on the data to find the line of best fit with associated statistics. I want to determine if a predetermined trend line is lik... |
On page 63 Table 3.3. of "The Elements of Statistical Learning" by Hastie el al. (2017) 12th print. It gives the summary results of different regression results on the cancer data. However I don't understand how the std err in the last line is calculated (esp. for the LS column).
The authors on page 61 have the followi... |
I have used "fitdistrplus" to find the possible theoretical distributions that might approximately fit my data.
But am wondering what is the principled way to assess the produced plot (see pic below the code) to find out which theoretical distribution might make a better fit?
Here is my R code:
library(fitdistrplus)
n... |
For back propagation for a multi layered perception, are all the gradients for each weight calculated in each layer first through back propagation, and then all of the gradients for each weight updated with respect to its calculated gradient and the learning rate?
Is this how back propagation works for a multi layered... |
I have some data, linked here: https://docs.google.com/spreadsheets/d/1rGgny-SZHzkjwj7xTSuEbLEhvx_JoVraG3udWqk-zN0/edit?usp=sharing
I tried to do a simple lm. My code is:
testLM <- lm(formula=No~ScoreMA, data=MA.df)
The results I observed are 1.653e-02 for the variable (p-val <2e-16) and 1.479e+01 for the intercept (p... |
I have two regressions:
(1)$$y=\beta_0+\beta_1x_1+u$$
(2) $$y=\beta_0+\beta_1x_1+\beta_2x_1^2+u$$
In regression (1) $\beta_1$ is a statistically significant determinant of $y$. In (2) we have the same regression except include a quadratic of $x_1$ which removes statistical significance from both the variables.
Why is... |
I am learning regression and am new to statistics. I am using R for regression. My data has 3 dependent variables and 4 independent variables including 1 categorical variable. I am not sure which model is suitable for regression. I used glm and got this result:
Call: glm(formula = sci ~ inv + term + partic + ordered(c... |
What is the formulation for the Dice loss with multiple categories.
I know this is the Dice loss for binary classes.
$L_{Dice} = -\frac{2 \sum_i p_{ij} y_{ij}}{\sum_i p_{ij} + \sum_i y_{ij}}$
|
I've been looking for a way to perform PCA on angular data in R and haven't succeeded yet.
I have a set of monitoring data for each of multiple plant species on the number of flowers opened at every 30 min (like 3 flowers opened at 0:00, 2 flowers at 0:30, 0 flowers at 1:00, ..., 5 flowers at 23:30). I want to reduce t... |
For loss matrix, is it necessary to include it during the decision tree analysis ?
What will be the impact if this is excluded from the analysis e.g loss matrix (0,1,1,0) in Rpart-R? Do we usually use this modified loss matrix as the final version? I have done a default tree and modified loss matrix (0,4,1,0). Both m... |
Let’s use a simple example. My training set contains 5000 schools. For each school, there is a matrix. Each row of the matrix is a student, each column of the matrix is the grade of a subject (math, chemistry, biology, and physics). Let’s assume each school has the same number of students (1000), so each matrix is 1000... |
I have heard several times in classes that the t-distribution allows us to more accurately model data when the sample size is small or when we do not know the variance. I am wondering what is meant by this and why the t-distribution is considered to be a "readjustment" in a way.
With respect to what is a t-distributio... |
In multiple regression with panel data, when calculating cluster robust standard errors, does it matter if there are only a handful of observations in each cluster?
I am looking at if the relationship between Y and X changes after a policy change. I have about 400 firms with 3 years of financial data before the policy... |
I read on Wolfram - Student's T-distribution that the Student's t-distribution "is defined as the distribution of the random variable $t$ which is (very loosely) the "best" that we can do not knowing $\sigma$.
I am wondering what this formally means and what criterion is used to gauge what is "best"? More directly, I ... |
Background: Every time a customer buy something from us we will ask if the customer wants to become a member. I'm trying to build a Logistic Regression model to forecast how likely a customer will become a member based on some attributes and I'm facing a problem about how to deal with missing data properly in this case... |
I am struggling to understand overdispersion and when to check for overdispersion. Can you tell me in which case I should or should not check for overdispersion? And maybe if there is a good book chapter explaining that as well...
Can you correct/confirm this:
For binary GLMs-> no
For binomial but not binary GLMs-> yes... |
I have to answer the question: does the success rate of quitting smoking depend on the treatment method?
for the data pictured.
what is the appropriate hypothesis test for this kind of data? i understand comparing two proportions but this has got me confused.
thank you in advance!
|
I am wondering if the weights, importance, of independent variables vanish if independent and dependent variables are normalized between 0 and 1.
|
how exactly is partial derivative different from gradient of a function?
In both the case, we are computing the rate of change of a function with respect to some independent variable. While I was going through Gradient Descent, there also the partial derivative term and the gradient were written and used separately.
W... |
I created a neural network model for a classification task based on 14 variables, 1 hidden layer of size 8. Outputs give 3 possible classes.
The weights I got from input (left) and output (right) layers:
I struggle to interpret the relevance of weights attributed to the variables (v1, v2, ...) among the neurons (n1, n... |
I have created a heatmap in R using pheatmap as seen below. I would like to extract the clusters outlined in black, due to the patterns identified within. The problem I have is that the distances are not in the order I wish to extract the clusters. Is there a smart way I can do this whilst still keeping the information... |
I trained an SVM (RBF kernel, optimized C and G) on a dataset with a balanced class distribution (i.e., 50% positive, 50% negative class samples). Testing the model on a corpus with an unbalanced class distribution (i.e., 1% positive) shows significant overgeneration of the model, as about half of the test instances re... |
To explain in an abstract way what I am trying to investigate, please imagine that you are interested in seeing if certain letters are enriched in the words of a sentence compared to the words another sentence.
The alphabet in both cases is the same, however, the length of the words as well as the number of words per s... |
would anybody give details numerical example of FDR and power calculation? for example, there are p-values given, using these p-values calculate threshold using BH procedure. then calculate FDR and Power. I need complete example of all this. you may use this p-values = 0.010, 0.013, 0.014, 0.190, 0.350, 0.500, 0.630, 0... |
In the paper Deep Survival Analysis (Ranganath, 2016), the author specifies a generative model for deep survival analysis.
Say $\mathbf{x}$ denotes the set of covariates, $\mathbf{\beta}$ the parameters for the data with some prior $p(\mathbf{\beta})$, $k$ a fixed scalar, and $n$ be the index of an observation. The ge... |
I used this code which uses RNNs for spam detection and got reasonable results. But when I use the same code for sentiment analysis, the model overfits badly: its training accuracy keep growing, but its test accuracy remains the same. The dictionary overlap between the training set and test set is almost the same for m... |
I'm reading a study about a certain drug and how it might cause some kidney issues as a longterm side effect. To be more precise the study is about PPIs (proton pump inhibitors).
I don't know why but the guys working on it did not present the intersection (which is really important I believe) of data sets.
Here is the ... |
I have a question related to this question:
How to inverse loss function L(z) to normal standard distribution (z)
The question wasn't answered since it wasn't clear what was asked. However I know what the person tried to ask:
In inventory management, the fill rate is a very common measure of service level. When one wa... |
The traditional Kruskal-Wallis Test tests null hypothesis $H_A$: ranks do not differ between groups against the alternative hypothesis $H_B$ in which the ranks differ between groups. However, what if we are interested in rejecting $H_B$ instead of $H_A$. What will the distribution of the test statistic look like?
I'm ... |
I have performed a single proportion meta analysis with R. The package I used can perform a trim and fill analysis, but can't actually plot the trim and fill funnel plot. The packages that can do so, can't perform a single proportion meta analysis. How can a create these trim and fill plots?
|
I have gone through the following 2 steps to create a 4-class SVM model:
5 fold cross validation with grid search to find a C and Gamma value with the lowest error.
Train a model with my complete data set using the C and Gamma values found above.
And now for the 3rd step, I am not sure what the best way is to repor... |
I'm trying to figure out a pattern that I'm seeing. I have weights generated by an unknown function F
F(3) = [-3/9, 2/9, 6/9, 3/9, 1/9]
F(4) = [-8/16, -1/16, 5/16, 10/16, 6/17, 3/16, 1/16]
F(5) = [-15/25, -6/25, 2/25, 9/25, 15/25, 10/25, 6/25, 3/25, 1/25]
...
I understand how the function is generating the series/weig... |
I am having a time series which shows some kind of periodic behavior looking at the plot. In order to get this seasonal component I am using the rolling mean and use seasonal_decompose of the statsmodels Python library.
sig = df_sensors['S1'].rolling(window=100).mean()[2000:4000].values
decomposed = sm.tsa.seasonal_dec... |
I am regressing purchase value ("TOTAL") on different methods and sets.
Methods (A, B, C) and sets (1, 2, 3) are categorical, so R creates a dummy for each of these values. (Omitting one because otherwise we have perfect multicollinearity.)
My question: Shouldn't the intercept of the OLS be 107 (the mean of SET1 and A... |
I had a backpropagation model which worked perfectly fine, however I wanted to implemented batch training.
Code before batch training (in backpropagation function), pseudocode:
forevery(connection in this.connections.in){
// Adjust weight
var deltaWeight = rate * gradient + momentum * connection.previousDeltaWeigh... |
My data set contains few varibales which I converted to factor as I wanted them to be in that format. To start with, I wanted to check the importance of each variable and check for multicollinearity. But when I run code, I get NA values for all those factor variables.
Does vif doesn't work for categorical variables?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.