instruction stringlengths 9 38.7k |
|---|
I am looking for a suitable forecasting methodology based on the following data sets I have across countries.
Independent variables - I have data available for variables A,B, and C from 2010 to 2020 for UK,France, Germany, Spain and Italy.
Dependent variable - I have data available for variable D from 2010 to 2020 for ... |
I have modelled (using Adaptive Neuro Fuzzy Inference System) a set of data consisting of 300+ sample points. My data is split into
50% training,
25% test
25% validation.
If there is not much difference between validation and test data accuracy
What does it says about your Data?
What does it says about your Model... |
In DeepMind's 2015 paper on deep reinforcement learning, it states that "Previous attempts to combine RL with neural networks had largely failed due to unstable learning". The paper then lists some causes of this, based on correlations across the observations.
Please could somebody explain what this means? Is it a form... |
In my mind, KL divergence from sample distribution to true distribution is simply the difference between cross entropy and entropy.
Why do we use cross entropy to be the cost function in many machine learning models, but use Kullback-Leibler divergence in t-sne? Is there any difference in learning speed?
|
I have a signal looking approximatively as the one in the first subplot below (*), and I would like to:
extract the periods of the main components of the signal;
associate an amplitude to these components.
(*) Here, the original signal is constructed from two main curves: a sine with a period ~170 and an amplitude ~7... |
In linear regression models, a convenient assumption is that the vector of error terms u1,...,un = u is (multivariately) normally distributed conditional on X, the (stochastic) matrix of all regressors. In combination with the assumptions that 1) E[ui|X] = 0 (i = 1,...,n), 2) Var[ui | X] = σ2 (i = 1,...,n) and 3) Cov(u... |
When doing a regression on 3 variables to see how they effect electricity usage one variable comes out as not significant but with the correct expected relationship. When I put these 3 variables and add 6 others to it and run the regression again the variable now becomes significant (still with correct relationship), a... |
Time series analysis (TSA) and interrupted time series analysis (ITSA) research designs are rare in educational research. In extant educational research textbooks I have read, TSA and ITSA are referred to as quasi-experiemntal single-subject research designs (Johnson & Chritensen, 2014; Shadish, Cook, & Campbell, 2002;... |
Consider tests of the randomness of bit sequences of fixed size $n$ bits as in cryptography (e.g. NIST Special Publication 800-22 page 1-4; notice this uses capital-$P$ for p-values). Define such test as any deterministic function $T$ that accepts a vector $V$ of $n$ bits, and outputs a p-value $p$ in $]0\dots1]$ (with... |
I have a Negative Multinomial distribution, defined as:
\begin{align}
P(k_1,...k_D | k_0, \mathbf{p}) =
\frac{\Gamma(k_0 + \sum_i k_i) }{\Gamma(\alpha)\prod_{i} k_{i}!}
p_0^{k_0}
\prod_{i=1}^D
p_i^{k_{i}}
\end{align}
I want to compute the sum over some pre-computed subset of count vectors $\mathcal{K}$:
\begin{align}
\... |
We are undertaking a study of community perceptions of the establishment of local facility. Local residents are going to be surveyed before the establishment of the facility and we are going to follow up with the same people after the facility is established. We would like to measure the change (before vs after) in the... |
I have raw data that has about 20 columns (20 features). Ten of them are continuous data and 10 of them are categorical. Some of the categorical data can have like 50 different values (U.S. States). After I pre-process the data the 10 continuous columns become 10 prepared columns and the 10 categorical values become li... |
I have a set of data that has following histogram:
I would like to guess it follows an exponential distribution. So I did some goodness of fit using KS test with MATLAB like following:
%% first load the data
fileID = fopen('data.dat','r')
dct= fread(fileID,'float');
fclose(fileID);
%% do distribution fitting
pd = fit... |
Consider $VAR(p)$ process
$$y_t = A_1y_{t-1} + \dots +A_py_{t-p} + u_t$$
where $y_t$ and $u_t$ are $K\times 1$ vectors and $u_t \sim WN(0, \Sigma_u)$ is a white noise process.
The autocovariance matrices of $u_t$ are estimated as
$$C_i = \frac{1}{T}\sum_{t=i+1}^{T}u_tu_{t-i}'$$
and autocorrelation matrices as
$$R_i ... |
I would like advice on pooling the calibration plots/statistics after multiple imputation. In the setting of developing statistical models in order to predict a future event (e.g. using data from hospital records to predict post hospital discharge survival or events), one can imagine there is some to a lot of missing i... |
I have a large dataset (over 6 million records) and I have aggregated the dataset (dplyer package) and tested rpart() on the two datasets. However the results of the two trees are not the same. I wanted to use aggregated data to speed up the calculations – Is this approach incorrect?
Tree: Data no aggregated - no weig... |
I have recently attempted to use multiple imputation but the imputation was too complex with ordinal data - however characterising as scale data made the process much less intensive and processing much quicker.
I just wondered why the computational process is much simpler when ordinal data can only have a finite numbe... |
I've been working on a forecast that I could use some help on. I saw some similar questions posted before but they seemed too detailed to be helpful in my case.
Question
What is the best way to forecast the final sales numbers over a period given I know the cumulative sales up to a certain day? The products I'm workin... |
I have some data set. I'm interested in checking for independence or lack of. I've calculated the Chi-squared statistic which is 5,43759, and it has df=1. So, I should reject for a dimension of $\alpha=0.05$.
However, if I calculate the Tschuprow (=Cramér, since cols=rows), I get a value 0.163517. They seem to indicate... |
I have a common question on how to explain significant association between categorical variables in mosaic plot.
For example,in this plot,based on Pearson residuals, can we say that $[2.0, 5.1]$ and $[-3, -2.0]$ residuals values mean there is a statistically significant association in $40+$ age,with memory and moderat... |
I'm running an A/B test.
Let’s say we’re measuring the following:
number of links clicked per user
This means that we’ll have a sample point for each of our users. This can make it hard to get statistical significance since the number of sample points is bounded by the number of users we have.
I’ve seen folks conduct ... |
I am struggling with the interpretation of the effect size of a multiple regression model measured by Cohen's $f^2$. I know the guideline to determine if the effect is small, moderate or high, but what I am looking for is a simple explanation (may be in lay language) of the effect size for a multiple regression model. ... |
I've downloaded Dog vs Cat from kaggle dataset and utilize OpenCv 3.2 Machine Learning library and c++ language,
And I choose 60-40(percent for train/test) from training set(kaggle test set do not have labels),I did grayscale and resize all images to 100x100 pixel and i calculate HOG for each one of them and I put all ... |
Using this data in R:
misprints <- list(N=6, x = c(3, 4, 2, 1, 2, 3))
I wrote a very simple model with a gamma prior and a Poisson likelihood that looks like this:
model {
# likelihood: poisson
for(i in 1:N) {
x[i] ~ dpois(lambda)
}
# prior: gamma
lambda ~ dgamma(9,6)
}
I then ran the following co... |
Kernel smoother is a typical non-parametric regression method that can be used well for interpolation. However, it can not predict the data outside the range of training data. Why ? If we have a look at the prediction function :
https://en.wikipedia.org/wiki/Kernel_smoother
The prediction function $\hat{Y}(x_0)$ on the... |
nscore <- function(x) {
nscore <- qqnorm(x, plot.it = FALSE)$x}
x=1:15
a=nscore(x)
> a
[1] -1.8339146 -1.2815516 -0.9674216 -0.7279133 -0.5244005 -0.3406948 -0.1678940 0.0000000
[9] 0.1678940 0.3406948 0.5244005 0.7279133 0.9674216 1.2815516 1.8339146
Now I want to fit a pdf to normal score (a) with mean of ... |
$X,Y \overset{i.i.d.}{\sim} N(0,1)$. Define $Z=X+Y$. So that $X$ and $Z$ are correlated. I want to calculate:
$$P(XZ>0)$$
The obvious approach is
$$P(XZ>0)=P(X>0)=1/2$$
But this is obviously wrong as the right side equals $1/2$, but the left side has to be larger. Why can't I divide by Z but I can always subtract?
|
Is it possible to compare an R2 value across three independent samples? I am familiar with the Fisher r to z test, but this is only for correlation coefficients, correct?
For instance, say I have three different age groups, three doses of medication, and then a DV of a test score:
I test a model DV = age + med_dose +... |
I am trying to compute a distance matrix using the method "SVRspell" (seqdistOO function).
I want to use an exponential weight of spell length equal to 2 and I want to discard matching sub-sequences of length one. No states' similarity matrix.
Note: sequences in the 'seqs' object below have a length of 25 (ages 15 to ... |
I am working on a classification problem, where I have 400 features(all are numeric), and 100 classes and I have 26,000 examples for training.
In my project I am using Weka and I have tried different algorithms and so far I have received the best results with the following stack of algorithms:
Rotation Forest(with 60... |
What is the feature_log_prob_ attribute of sklearn.naive_bayes.MultinomialNB() and how to read it?
|
Just doing a couple of mind games going through my stats notes...
I've seen ACFs around with negative values at lags 1 and 2 - I might be having a mind blank here, but wouldn't a high negative AC at lag 1 imply a series like (-1,1,-1,1,...), and as such we'd be expecting the AC to alternate between positive and negativ... |
I have a question regarding adding a risky bet to a low risk portfolio of (completely independent) bets. I could provide a more specific real life problem but I have the feeling I am missing some underlying principles and would like to learn from a generic example and hopefully apply to other problems. So I hope I am p... |
I have a time series data with its ACF shown below. The time unit is day(s).
What looks intriguing for me is that there seems to be a peaks at every 7 or 8 lags, and it looks like there is a seasonal trend but the trend diminishes as lags increase. I use auto.arima() to select the best-fit ARIMA process according to ... |
I am working on a telecommunications networking project and I am interested in datasets which contains the following features:
source/destination IP
packet size.
protocol.
Port number.
I have been searching also in UCI datasets but I didn't find anything related to my case study, any advise?
|
I have one set of experimental data set contains 669 samples and it describes laminar flame speed by using three variables: pressure, temperature and equivalence ratio. This contains 12 different combinations of temperature and pressure (some cases contain just 9 data samples). I then create another set of data set, w... |
I'm using scikit learn, if that's relevant. I'm still at the data collection stage, so I'm trying to figure out how to design my features to be useful.
I have an obstacle course where 5 teams (out of 25) compete at a time. Each team has a set of numerical stats assigned to them, such as overall strength, speed, teamwor... |
I am conducting a one-group pre-intervention / post-intervention test. All the subjects completed the intervention as otherwise there would be ethical concerns. Is there any test other than a paired t-test that can be used to also take into account covariates, such as time, experience, etc?
|
as the title says I would like to run a clustering algorithm (eventually evolving it in some semi-supervised model) on this dataset that describes the position of a person throughout the day. What I do right now is map the coordinates to geohashes (to obtain a single value) and plotting these values I see that there ar... |
In this popular question, high upvoted answer makes MLE and Baum Welch separate in HMM fitting.
For training problem we can use the following 3 algorithms: MLE (maximum likelihood estimation), Viterbi training(DO NOT confuse with Viterbi decoding), Baum Welch = forward-backward algorithm
BUT in Wikipedia, it says
Th... |
I would like to test the difference between the mean weights of 4 groups So, my dependent variable is continuos, but there are 3, 12, 26 and 56 observations in my groups. Should I use One-way ANOVA or Kruskal-Wallis H Test? If it is Kruskal-Wallis H Test I should be using and get a p-value < 0.05, which post-hoc test ... |
I am comparing two groups of people: Group $A$ and group $B$. For each group, I measured three variables: $v1$, $v2$ and $v3$, all are numeric. My intention is to compare the two groups based on the overall score ($v= v1+v2+v3$), $H_{0}: \mu_{vA} = \mu_{vB}$ and also by the subscore ($H_{0}: \mu_{v1A} = \mu_{v1B}, H_{0... |
I'm sorry if this question is too broad for this board. I'm trying to figure out a survival model for my data. Right now I have it organized by country, year, "cur" which is my main IV, and event. I have an example of my data below. My issue is my main IV changes over time and I can have multiple events per country. It... |
Assume that there is a choice of three railway stations. The probability of either walking or driving to each station is known. This is specific to each station. The probability of choosing each of the stations given walk or drive is also known. What I require is the overall probability of each of the three stations be... |
I have been playing with the hyper-parameters of the latent Dirichlet allocation (LDA) model and am wondering how sparsity of topic priors play a role in inference.
I have not performed these experiments on real data, but on simulated data. I started with a fixed vocabulary of fifteen words $(W = 15)$ and generated thr... |
I am a bit stuck here. I am analyzing some data to see if there are heterogeneous treatment effects.
To do that I am essentially running the three models below (and an Linear probability model (LPM)). My dependent variable is binary and I run logit models.
When I run two separate models (column 1 & 2) I find that for... |
I first tried to transform my predictors one by one, but I couldn't find a satisfactory transformation. Then I tried Box-Cox which solved a lot of linearity and constant variance issues, but I still had a not-so-great QQ plot
The data set I'm using is http://archive.ics.uci.edu/ml/datasets/Wine+Quality, and above is a... |
I wish to estimate the percentage covering of vegetation in an area 1 km long and 600 m wide. Within this area I have percentage cover of vegetation for 10 circles with 10 m diameter and percentage cover for 12 rectangles that are each 2 m by 50 m. Can I combine these data to provide an estimate of percentage cover for... |
I'm having a little hard time understanding this specific feature selection algorithm.
Specifically, I am looking into maximum-relevance-minimum-redundancy method for feature selection.
If I have a feature matrix $\ X = \{x_1, x_2, ... , x_n\} , x_i \in R^D $
then I can compute mutual information between two specifi... |
How would I go about comparing two percentage figures from two different sample sizes? For example:
Sample 1 - 10% (220,510 out of 2,205,100) of respondents answered "yes",
Sample 2 - 31% (12 out of 38) respondents answered "yes".
I want to compare these two percentages to determine if there is any significant di... |
In the paper of fully convolutional neural network, the authors mention both patch wise training and fully convolutional training.
My understanding for the training set construction is as follows:
Given an M*M image, extract sub-images with N*N, where (N<M). The selected sub-images are overlapped with eath other. For e... |
Situation
I have a number of defined areas throughout a city that I am trying to develop population estimates for.
Census data is the basis for the estimate.
My custom areas do not neatly align with census boundaries.
I intend to use a method where I firstly determine the proportion of my area within each census bounda... |
I am working with Gaussian Linear State Space models of the form:
$$y_t=F_t\Theta_t+v_t$$
$$\Theta_t=G_t\Theta_{t-1}+w_t$$
$$v_t \sim N(0, V_t)$$
$$w_t \sim N(0, W_t)$$
Where $y_t$ is my observed time-series (usually multivariate) and $\Theta_t$ is the state of the system at time $t$. $F_t$ and $G_t$ are the system and... |
Is it meaningful to combine relative risks and hazard ratio data in meta-analysis?
Trial data I have extracted takes the form of either 2x2 data (from which the RR is easily calculated) or HR with associated 95%CIs. I'm not interested in the time-to-event aspect of the HR metric for the meta-analysis and wondered whet... |
I have a dataset where the dependent variable is a similarity measure between any 2 data channels, lets call it S(i,j), with a few dozen simultaneously recorded channels (so there are quite a few possible pairs). S is symmetric, such that S(i,j)==S(j,i). Therefore, the distribution of unique pairs to analyze is a trian... |
I have pre/post data where all subjects underwent the intervention. The outcome is a score. I am also looking to stratify my analysis by gender. I understand I can stratify my paired t-test in SAS via a simple class statement, but how do I determine if the difference between the genders are significant? I would normall... |
So, we are doing a linear mixed effects model for analyzing some results of our study. In short, we have performed two different meal tests (i.e., two groups), and measured the response in various biomarkers at baseline as well as 1, 2, 3, and 4 hours after the meal.
I had a meeting with a statistician who explained th... |
I am trying doing time series analysis. My main purpose is predict data using seasonal ARIMA model in R. I found 2 functions which I can apply my data to ARIMA model in R. One is Arima in library(forecast), the other is sarima in library(astsa). Both of them are using ARIMA method, but the predict values are not equal.... |
I have in my notes that the standard deviation of log odds is given by the
$$\sqrt{(1/a + 1/b + 1/c + 1/d)}$$
I know that the derivation of this requires the Delta Method, but I'm not familiar with this method. Would anybody mind spelling this out?
|
Is it possible to assess the effectiveness of a classroom intervention by:
Taking scores from an entrance exam administered before the intervention
Ranking these scores (i.e. 1st, 2nd, 3rd, ...)
Providing students with an optional learning app (the intervention)
Administering a final year exam
Ranking this final year ... |
I'm reading this paper http://circ.ahajournals.org/content/134/25/2095
, with the aim of applying the same method to my data analysis.
In the paper, the authors compared 30-day survival chances of cardiac-arrest patients
with or without bystander cardiopulmonary resuscitation (CPR). (see Fig. 2 attached)
They used a mu... |
I am trying to understand LOESS regression. I've read the Wikipedia and Wolfram articles on it, and the R help for the loess() function.
I think I understand now how the local polynomials are derived, each by a weighted regression over a subset of the data points that are all sufficiently close to the point being estim... |
I am working on a regression problem where I have to estimate the percentage of acceptance of an offer. Although my dependent variable is categorical one. ( I tired to fit the logistic but it didn't turn out very well; despite being 17% of 1s in the whole data set and sample size being more than 100k. My model failed t... |
I read that in the Metropolis-Hastings Algorithm, the transition kernel $K$ is given by:
$$
\forall \theta^{t-1} \in \Theta , \ \ \ \ \ \ \ K(\theta|\theta^{t-1}) = \alpha\left(\theta|\theta^{t-1}\right)q\left(\theta|\theta^{t-1}\right) + \left(1-\alpha\left(\theta^{t-1}\right)\right)\delta_{\theta^{t-1}}(\theta)
$$
H... |
I use the qqnorm function to calculate normal scores in R:
x <- 1:10
y <- qqnorm(x)$x
How are these kind of normal scores calculated?
|
I have the following data :
Yield Rain PH EC OC N P K S Zn Fe Cu Mn Hydro
7778.1 103.03 3 1 2 1 1 2 1 1 2 3 2 1
5929.4 91.23 3 1 2 1 1 2 3 2 2 3 3 1
2872.3 109.47 3 1 2 1 1 2 2 1 2 3 3 2
4332.7 92.58 3 1 2 1 1 2 ... |
I have a custom, discrete probability map (2d) that I would like to randomly sample from. I understand that in 1d case, this can be done easily using the inverse transform sampling method. However, it seems that people are saying this can't be done in 2d discrete distributions.
Is that true? If so, is there a fast way ... |
According to this paper, Canonical Discriminant Analysis (CDA) is basically Principal Component Analysis (PCA) followed by Multiple Discriminant Analysis (MDA). I am assuming that MDA is just Multiclass LDA.
My work uses SciKit-Learn's LDA extensively. According to its description, it is
A classifier with a linear dec... |
I was utilising CausalImpact for a study. Only recently did I realise that the model described in the associated paper was different to the default model implemented in the package.
The paper was read like the default model was Local Linear Trend model for the structural time series. However, the default model used in... |
I have a dataset with ~250 data points. When I regress Y on X1 and X2, X1 is a significant predictor of Y. However, about half the 250 points are pseudoreplicated; they come from locations with >1 observation and are not strictly independent.
Normally, I would include a random slope for X1 and X2, but the half of the ... |
This occurs quite a lot in image processing, where the work is predominantly with silhouettes; there are a whole lot of redundant features that just have the same value for every instance in the dataset, i.e, features of zero variance. Such features are usually removed during the preprocessing stage.
Is there a conven... |
I have data vector and I am trying to do chi square test. This test use frequency from real data and expected frequency.
my data
table(T1)
T1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 26
204 11 5 11 5 1 8 2 3 1 1 2 2 2 2 1
if I use R to generate data set that foll... |
How would I go about testing for differences in cost per acquisition (CPA) in an A/B test?
I'm a huge novice and am unsure if I would use some kind of t-test or chi-square test (or neither) to compare the proportion of cost per acquisition in group A to cost per acquisition in group B.
e.g.
Group A:
Cost: £1500
Acquisi... |
I was reading this interesting article on convolutional neural networks. It showed this image, explaining that for every receptive field of 5x5 pixels/neurons, a value for a hidden value is calculated.
We can think of max-pooling as a way for the network to ask whether a given feature is found anywhere in a region of... |
I have a whole bunch of prediction bounding boxes for my test images. What is the best way to draw the bounding boxes so that I can use it to compare across different models?
For example, for each image, I draw only the bounding box with the max IOU, or max confidence score etc.
Several other models I've used have chos... |
I have a data set with around 250 data points. I previously automatically labeled the data using an established classifier. Every data point is assigned with one of three possible labels. I then conducted a user study where ten users labeled 25 randomly chosen data points (from the 250, none used twice).
I now have the... |
Some people recommend the following procedure to calculate the mean of several correlation coefficients: transform the coefficients by Fisher's $z$ transformation, calculate the mean of that, and transform the result back.
This made me think what about the scale of the correlation coefficient. Generally, I have the fe... |
I have a dataset of time series normalized for length. A working R example below. I am trying to estimate burstiness within the series, i.e. to compare series in the degree of clusteredness in these events. Here I just used a simple index of dispersion (variance of intervals divided by mean of intervals).
For this data... |
I have $m$ variables $x_1,\dots,x_m$, measured in $N$ independent tests $\{x_{i1},\dots,x_{im}\}_{i=1}^N$, leading to the design matrix $X$. I noted that the demo function corrplot_intro.r from the R package corrplot includes a nice function cor.mtest (reported below), which computes the pairwise correlations for $x_1,... |
Given the values of a bank account balance over time (see figure below as an example), how can one predict the account balance at a given date in the future ?
Should I just fit one linear regression model to the values of the i'th day of each month, in order to predict the value at the i'th date of future months ?
|
I did a PCA plot on snps data and I have the race of each patient
the plot doesn't show separate groups which is expected how can I debug the data or what should I make sure of
|
I have a small data set:
Small Large
11.834 7.7951
12.23 8.7618
11.972 8.8966
12.11 9.7235
8.2571
I would like to perform a t-test. The data represents the lower development threshold "Temperature" for a fly species grown on small and large carcasses.
Am I correct in thinking a paired, two tail t-... |
I had a job interview for a data science position. During the interview, I was asked what do I do to make sure the model is not overfitting. My first answer was to use cross-validation to assess the performance of the model. However, the interviewer said that even cross-validation cannot identify completely overfitting... |
I understand the prior and posterior distributions and I have read what the prior and posterior predictive distributions are.
However, I don't really see the point of knowing them.
Knowing more things wouldn't hurt, but I just want to understand the reason why I need to know them.
|
Apologies if this question is quite simple, but I struggle with stats and wondered if you could help.
I have a data set which has days of the year (1-365/366) from 2004-2013 and a variable with the number of earthquakes per day per year for this same period.
I have subset my data into two: one into summer earthquakes... |
I'm taking an online course. In one of the lessons about methods to select explanatory variables, it is said that you can use the t-test or F-test to add/remove a single or group of terms to/from a model however, it is said that these tests are only concerned with the significance, and do not incorporate the bias-varia... |
There exists a collection of audio files, each 30 seconds long. Such an audio file contains the recording of the manufacturing of a certain small piece in a machine. After manufacturing the piece, it is built in in another larger piece whose quality is tested and classified in good / bad. The quality of the larger piec... |
In the book "Elements of Statistical Learning" (Friedman, Hastie, Tibshirani) , the authors suggest that bootstrap and the resulting out-of-bag data for a random forest are equivalent to a 3-fold cross-validation. This makes sense and is pretty straightforward to implement as far as we intend to use cross-validation fo... |
I trained a scikit learn LDA model on 400 000 documents of about 50 words each. I then took a look at the final topic word distribution by computing the cosine similarity matrix of the given topics. Here is the plot of this matrix:
As you can see there are 1000 topics where most of them are pretty correlated to each ... |
I would like to know the importance of the original features in principle component analysis. See this Stackoverflow link for an example of what I mean (with a code example).
The question is: can you multiply the factor loadings [meaning the corresponding eigenvector] of a PC by the explained variance of the PC to asse... |
I have 16 types of experiments (a matrix of 4 conditions and 4 bacterial strains).
Each experiment type is composed by a variable number of samples (4-8).
Each sample is made of a variable number of data points (50-300).
When plotted, each sample gives rise to a non-normal distribution, heavily skewed to large values.
... |
I have some data for medical diagnosis, consisting of some rules about relationship of diseases and their symptoms, for example disease D1 frequently has symptom S1 or disease D2 rarely has symptom S1. Given some symptoms, I want to somehow calculate most probable diseases based on this data.
I thought about using a na... |
How can I test is there a dependency/correlation between genetic sketch and description sketch ? Lets say I've got data like this:
genetic<-data.frame(Eye=c("Brown","Blue","Green"),
Hair=c("Black","Blond","Blond"),
Age=c("20-30","40-50","20-30"),
Sex=c("Male",... |
I am trying to use python and online tools to calculate the accurate sample size. However, each way I use I get a different result.
This is the data I have from a previous test
Control Group
Sent:140000
Converted: 6000
Conversion Rate: 0.0429
Test/Treatment:
Sent:350000
Converted:19000
Conversion Rate: 0.0543
I... |
These used to be available on his website online but no longer are -- can anyone provide or point to cached copies?
|
I know there are many related questions to this but none are exactly to the point I want to ask ,
My question is in terms of simple linear regression,
This statement(In bold)from the book An Introduction to Statistical Learning
In Leave-One-Out Cross validation the statistical learning method is fit on the n − 1 train... |
I am a bit confused regarding normality testing for predictor variables in logistic regression.
Example - If I am looking at an older population, and two of the predictors are continuous, fasting blood glucose and high blood pressure, inherently as the population gets older, both endpoints tend to skew to the right. Ho... |
Input to tfidf Matrix with a list of text documents, output is a matrix which contains a numerical value for each (word, document) pair. How can I use that matrix to perform feature selection, i.e. reduce the size of the features where matrix are very sparse ... 2000+ unique words (terms)?
so i would as about the foll... |
Consider the following code in Keras for building a LSTM model.
model = Sequential()
model.add(LSTM(30, input_dim=22,return_sequences=True, init = 'glorot_uniform'))
model.add(TimeDistributed(Dense(1)))
model.compile(loss='mean_squared_error', optimizer='Nadam')
model.fit(train3d, trainY3d, nb_epo... |
I am doing a meta-analysis using the Open Meta software. The findings being meta-analyzed are simply the proportion of those with disease X who also have disease Y for each study. I am given an estimate of the overall proportion, the lower and upper bounds of the CI, and the significance value. I am not really sure ho... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.