instruction
stringlengths
9
38.7k
Example: Say I have a normal distribution that contains responses from both male and female participants with an average score of 50 ± 2. Lets then say I actually receive this information in the following way; Men have an average score of x = 49 ± 3. Women have an average score of y = 51 ± 4. I can use this to calculat...
I've N=1000 balls and X=20 bins. I distribute them randomly in these 20 bins. Let's say I've y=100 balls in one of the bins (let's say bin y). What is the probability to have y=100 balls in this bin. Can I use a binomial as : pbinom(100,1000,1/20,lower.tail=F) 3.908209e-11 And can I compute the p-value for each bin us...
As I assume, we more often have datasets with (A) very many cases (objects) and not so many variables (properties) (= large data) than the other way around: (B) just a few cases and many more variables (= high dimensionality). There are other conceivable cases: (C) few cases, few variables, (D) very many cases, equally...
Very short question: are there tools (by preference in R or Stata) to solve a simultaneous equation model, without needing instrumental variables? In my case, I would like to model irrigation and croptype. A farmer needs more or less irrigation depending on the croptype. However, the croptype that he chooses also depen...
Suppose that 2 persons collect samples of a random variable X. Each of them come up with : - the number of observations - the mean - the variance How can we calculate the variance of all the observations ? Is there an exact calculus or an approximation.
I am conducting a CFA on a questionnaire with 4 factors. I know that the exploratory factor analysis to obtain theses 4 factors was done using oblimin rotation. I am now wondering, if this affects the model I have to build with lavaan-package in R. Following the tutorial on the lavaan website I built the following mode...
My question is about "The elements of statistical learning" book (yup, the one). Right now I am kinda stuck on second chapter at part, where they derive EPE for linear regression (Somewhat related to Confusion about derivation of regression function , but I have more a detailed investigation here =)). Here it is: Ok, ...
Let's say we have binary classification problem: 0 vs 1. Some set of images needs to be mapped to those labels by convolutional neural network. Main trend for now is to use ReLu as activation unit, nonlinearity, after convolution(or after conv + BN). ReLU cannot give negative values by definition(pReLU can, but let's s...
I have data from a number of subjects who rated conditions 1 through 8 on a Likert-type ordinal scale (from “much worse” to “much better”, here, coded from -3 to 3). It results in the following counts of occurrences: -3 -2 -1 0 1 2 3 1 1 2 8 18 46 28 17 2 13 15 47 24 17 2 2 3 0 5 13 21 39 24 18 4...
One of the main reasons that ANN performs better is due to its influential feature in handling nonlinear data (Wu et al, 2008). Can anyone explain to me what is this meaning?
I'm fairly new to regression analysis, but I am planning on writing an economics paper involving revenues and standings for a sports league - specifically, I want to determine whether a team's standing at the end of the season is correlated with their revenue. Obviously, I could run a simple regression for all the team...
I am trying to calculate modification indices in a Structural Equation Model (SEM) with an endogenous categorical variable. I am using the R package 'lavaan'. Running what it seems to be the correct code and I can not compute them. Reproducible example below. Am I missing something? CODE table.7.5 <-read.table("http://...
This might be completely unfeasible or obvious, but I wanted to see if anyone has come across a similar problem. Typical classification methods (decision tree, random forest, etc) require at least two groups to determine group differences, however is it possible to have a singular group, and classify it based on the pr...
I had a question about working with models when there is little historic data. For example, if a high school school in its first year of existence wanted to predict how many students would transfer, what could it do? The school doesn't have any historic transfer data to build off of. Would it make sense to use a bayesi...
Let $X_i$ for $i\in 1,\dots,n$ be a sequence of bounded (potentially) correlated random variables. No two variables $X_i$ and $X_j$ are perfectly correlated. I am interested in $$ Y=\lim_{n\rightarrow \infty}\text{Var}\left(\max_i X_i\right) $$ Intuitively, it seems that we should have $Y=0$ or at least $$ Y \leq \max_...
In my data I have $n_1$ people who had an "event" and $n_2$ people who did not. Cases (those with an event) were oversampled substantially (the true prevalence is probably more like 1 in 10000). If it matters, $n_1 = 70$ and $n_2 = 250$. For all of those who had an event, I also know how long it took from baseline for ...
Given a time series with Events (chart patterns), I want to assess whether events (chart patterns) occur systematic or randomly in a time series. My idea is to identify patterns in a given time series simulate multiple new time series identify patterns in the simulated time series compare the results The key que...
Ordinary autoencoder architectures (not variational autoencoders, stacked denoising autoencoders, etc.) seem to only have three layers: the input, the hidden/code, and the output/reconstruction. Are there any examples of papers which used architectures consisting of multiple hidden layers? If not, what are the theoreti...
I have a dataset with over 100 features and 200k observations. My objective is to try and group these observations into clusters as a more meaningful way to understand the interaction between my feature set. Specifically I'm interested in how one specific feature behaves across the different clusters. I don't know how ...
I am quite stunned: I did some test on generated data and found out that model estimates from JAGS of the standard deviation of input data are systematically overestimated by certain and fixed constant 1.20247, for N = 9! This is the result of more than 10,000 models (100,000 iterations each): Here is the model: model...
I have 100 offices. Some with 1-person and another with 700-people. We've sent them a survey and I want to order them by response %. With that in mind, the office of 1-person who has responded, yielding a response rate of 100% should not be ranked ahead of a 700-person office who has a response rate of 85%. How would I...
Given the Wold representation: $$X_t = \mu + \sum_{j=0}^{\inf} b_j \epsilon_{t-j}$$ Which is its autocovariance function? I made some algebra and I ended up with: $$COV(X_s,X_t)=\sigma^2 \cdot \sum_{i=0}^{min(s,t)}b_i$$ Is it correct? Thanks.
I have a collection of (200) points that are well-fitted by a (negatively-skewed) beta distribution with parameters $\alpha=3.1$ and $\beta= 1.9$. This is all fine and good, of course, but I am interested in possible theoretical underpinnings/explanations of the curve, so I would appreciate any suggestions for alternat...
I am trying to eliminate seasonality from my data using Fourier analysis in MATLAB. Following this post https://stackoverflow.com/questions/19285684/fast-fourier-transform-for-deasonalizing-data-in-matlab?answertab=oldest#tab-top I came up with this code: clear; clc; close all; % load(fullfile(matlabroot,'examples','ec...
I'm comparing two datasets from DNA sequencing studies, and comparing mutation rates in genes between the two datasets, which I'm doing using a two-tailed Fisher's exact test (please correct me if I'm wrong in using it in this situation!). I've run the test in R using the fisher.test function, and have included a subse...
I have about 200 observations and 33 predictors. Due to sample size limitation, I used an elastic net logistic regression model. I have really high specificity ~0.9 but really low sensitivity < 0.01. Out of curiosity, I run a logistic regression model with the same parameters as the elastic net. And I have high specifi...
I have the value of a dependent variable, Y, for every day from 1/1/2000 to 12/31/2016. The value is partially dependent on the day of the year/week/month, the month, and the year; as well as on other variables. I'm training my model using 2000-2015 and testing using 2016. If I have a model that predicts Y based on ...
As I researched from documents I found that, when working with classifiers, we generally use 3 sets that are: A set for training the classifiers A set for testing the classifiers during development An untouched testing set that is only used after the development So my question is: Why do we really need the 3rd set? A...
What will be the effect on the solution of least square analysis if we apply the following transformations on the training set: add a real number $k$ to the output value of each datapoint. And the model is $y = \phi w$ where $w$ is the weight attached to the functions $\phi_1, \phi_2, \phi_3....\phi_p$. Least squ...
I was reading this question here to understand the geomteric interpretation of OLS solution. I have seen this before, and I understand it: given that I take for granted that the minima can be interpreted as contour plots. My question is how exactly I can relate the contour plots to this question. Why do we draw differ...
I'm working on a Relation Extraction Task that has Train/Dev/Test Dataset. The performance is measured by F-score (MicroAverage without Non-entity-relation class). I'm computing a Neural Network for this end, and I have to find the best epoch via early stopping criterion in the Dev set for training a good model. I see ...
I want to optimize random forest hyperparameters. I am using random search. I have specified a range of 100 to 1000 as the number of trees. How can I know whether the given # of trees is overfitting the data? I mean lets say I am given 450 trees as an ideal value. But the truth is that with 156 is just enough. Thank y...
I'd like to estimate the Cost Per Lead for a given advertising campaign. I have eight data points, each with Cost and # of Leads for a given week. Here are the Costs: 81.05 63.17 171.44 104.53 95.33 39.06 80.88 110.55 Here are the # of Leads: 4 1 3 5 2 0 6 2 The Cost Per Lead is the Cost divided by the Number of Le...
My question grew out of a discussion with @whuber in the comments of a different question. Specifically, @whuber 's comment was as follows: One reason it might surprise you is that the assumptions underlying a correlation test and a regression slope test are different--so even when we understand that the correlation a...
The question I have is: Define X,Y to be two independent uniform(0,1) random variables and $Z:=\frac{Y}{X}$ Compute $P(X<x|\sigma(Z))$ The answer given apparently by "straightforward elementary computations" is for $x\geq 0$ $P(X<x|\sigma(Z))$=min$\{{x^2,1}\}\mathbb{I}_{Z\leq 1}$ $+$ min$\{{x^2 Z^2,1}\}\mathbb{I}_{Z\ge...
I am reading about MCMC from this PDF Murphy's MCMC (1), on page 4, above equation (21) the author states: "Note that when evaluating α (acceptance probability), we only need to know the target density p up to a normalization constant. In particular, suppose $π(x) = 1/Z (π′(x))$, where $π′(x)$ is an unnormalized distr...
I have time series data and applied the cross correlation function in matlab. We know that the correlation coefficients that are shown in the output are the 'best' values shown with the corresponding lag times. This means that other lags are also tested and found to be 'inferior' or of low correlation. When I should t...
I am analyzing frequency data (response variable = no. of seeds produced per plant) by fitting GLMM with a logarithmic link function and a Poisson error distribution. I also have data on no. of ovules produced per plant, so technically I can calculate the proportion of seed set as (no. of seeds produced per plant) / (n...
A mouse does four things: eats (E), drinks (D), defecates (S), and urinates (U). A time chart records the occurrence of each event along with the time in minutes (after the commencement of measurement) at which the event occurred. The time-chart actually has around 12,000 events of which the following is a sample. S, 5...
I am using gam (mgcv) to model a continuous response (a soil nutrient) in relation to a continuous predictor plus categorical predictors plus site random effects (modest number of sites) with: gam(log(y) ~ s(x, bs = "cr", by = fac1) + fac1 + fac2 + s(site, bs = "re", by = flag), method = "RE...
We use back propagation through time in the recurrent neural nets. It's done by adding up the gradients w.r.t to weights in each time step. But my question is why can't we just keep getting the derivatives as we normally done in back prop.
I have a dependent continuous variable with range 0-100 representing restaurant health violations. Due to the nature of the variable, it does not make sense for a regression equation to predict a restaurant to score negative violations. I would like to limit the prediction interval for many different regression algorit...
Having too many species in the data, makes the species labels overlap in a plot of a canonical correspondence analysis. This makes it difficult to interpret. Is there a reasonable possible solution? How can I make the plot so that it is easier to interpret? There are so many species names that they are getting overlap...
I'm working through an old qualifying exam, and part of a problem requires finding $E_t[X_{t+1}^{1 - \alpha}]$, where $X_{t+1}$ follows a random walk with drift that includes an iid normally-distributed shock and an iid "rare-disaster" shock that follows a two-point distribution. The process is defined as \begin{equati...
Let's say I were to impute values for a variable (using multiple imputation). Then I wanted to use that variable in a regression. Can I use the same variables I used to impute in my new regression? So, for example, if I were to impute math test score with the variables race and income, could I then regress on GPA the v...
I have a heavily imbalanced dataset with 170 columns and 2 million rows, there are also missing data in the set. As practiced, I drop all the null values, normalized the data using min-max method and performed different techniques to address the imbalance. I tried random oversampling, random undersampling, SMOTE, SMOTE...
I have a use case where I need to check if new data received this week, is different from older data received last week. The data is continuous (basically voltage & power readings from a machine). I had used Anova to do this but that doesn't really suit my application, I was wondering if there was a statistical method ...
I'm working on CNN and I have a question about regularization. Max-norm constraints (a form of gradient clipping) apply a rescale of the weight vector that satisfies $|W|_2<c$, normally in the layer where Dropout is applied. If we apply a Lagrange multiplier to the function that satisfies this constraint we have $+λ (|...
I used Metropolis-Hastings algorithm to run a MCMC to some failure data in Bayesian analysis and the posterior samples of the parameters were obtained. There's a strong correlation between the posterior samples. Does the correlation affect the point estimates from the posterior values? Can anyone please help me with th...
I have been going through 2 posts: What are the multidimensional versions of median here And Is there an accepted definition for the median of a sample on the plane, or higher ordered spaces? here In the first post @Bitwise mentions a method for calculating the median for multivariate data by finding the minimum Eu...
I have tried compute the autocovariance of the following process: $$ Y_t = \beta_0+\beta_1t+\epsilon_t ~~~~~~~~~~~~,~ \epsilon_t \sim WN(0,\sigma^2) $$ I tried this way: $$COV(Y_t, Y_{t-j}) = E[(Y_t - E(Y_t))(Y_{t-j}- E(Y_{t-j}))]$$ $$ = E[(\beta_0+\beta_1t+\epsilon_t-(\beta_0+\beta_1t))(\beta_0+\beta_1(t-j)+\epsilon_t...
Similar to the following question, How to extract/compute leverage and Cook's distances for linear mixed effects models Is there any method in R to determine influential points in a GAM?
I've just started to examine the subject. Excuse me, if my questions sound stupid. I have some statistics of football matches (injuries, corner kicks, yellow cards) with time references (a certain minute of the match). I want to make the model of neural network, which would bind football match to one of the patterns, d...
I use monthly data to estimate relationship between some financial assets, get the following result using OLS with White covariance matrix (anticipating some sort of heteroskedactisity). However, the AC/PACS analysis indicates strong autocorrelation and there seem to be volatility clustering on the residual chart: Th...
There's an old rule of thumb for multivariate statistics that recommends a minimum of 10 cases for each independent variable. But that's often where there is one parameter to fit for each variable. Why I'm asking: I'm working through a textbook example that uses 500 Training cases (out of 25000 in the data set) with 15...
I am trying to eliminate seasonality from a time series using Wiener-Kolmogorov filter, I am following the methodology explained in here this paper about signal extraction which is the same followed in this paper. Following the paper I am able to reproduce figures 12 and 13 using the following MATLAB code: clear clc ...
The arrival of photons at a pixel in an image sensor is a Poisson distributed random variable such that the input can be modeled as a Poisson r.v. $X\sim \mathrm{Poisson}(\lambda)$. Since the input is Poisson, the mean and variance are equal such that \begin{equation} \frac{\mathbb{E}[X]}{\mathrm{Var}[X]}=1 \end{equati...
I tried to implement my own LDA program in python, while following this tutorial. When I use gibbs sampling, the program assigns all words to a particular topic on convergence. When I greedily np.argmax assign the topics according to the probability, then program seems to work fine. Is there a problem with the code or ...
I was reading Pattern recognition and Machine Learning by Bishop. There I found this equation, 2.21, which states how to calculate prior mean as the average of posterior mean. $$\mathbb{E}_{\theta}{[\theta]} = \mathbb{E}_{\mathcal{D}}[\mathbb{E}_{\theta}{[\theta|\mathcal{D}]}]$$ where, $$\mathbb{E}_{\theta}{[\theta]} ...
Trying to compare different statistical tests, in particular anova(model,test="Chisq") and AIC, I have read the nice discussion under Logistic regression: anova chi-square test vs. significance of coefficients (anova() vs summary() in R) However, it raised for me the question whether likelihood is in the background of ...
I work with bioinformatics and I'm completely new to machine learning, so I don't know if this idea is viable. There are several predictors that try to predict the molecular nature of a set of a given genes. They use different ML methods (SVM, logistic regression, random forests etc.) and different sets of features in ...
What would cause a regression model to always under predict? For over a year now an associate of mine has been producing a linear model for a client which predicts trends with reasonable accuracy but always under predicts the magnitude. This has bothered me for a while and each time I see it or get reminded of it I att...
You and I decide to play a game where we take turns flipping a coin. The first player to flip 10 heads in total wins the game. Naturally, there is an argument about who should go first. Simulations of this game show that the player to flips first wins 6% more than the player who flips second (the first player wins appr...
A question from a novice into statistics. I want to perform a mixed model with person (ptid*) as random factor and with repeated measurements (point). position is a text which differs into 8 groups, why they are factorized. Using lmer i use this model <- lmer (ai ~ factor(position) + (1|ptid) + (1|point), elfys) the r...
I'm working on DNA sequencing data, and have 8 samples from a single cohort, all samples having undergone the same mutagenic treatment (one group, no independent variable). Six mutation classes (Mut1-Mut6) are found in the samples with varying frequencies/counts. As is quite apparent from the data shown below, Mut4 occ...
Can somebody explain what is a global max pooling layer and why and when do we use it for training a neural network. Do they have any advantage over ordinary max pooling layer?
I've been learning about machine learning boosting methods (e.g., ADA boost, gradient boost) and the information sources mentioned that boosting tree methods are less likely to overfit than other machine learning methods. Why would that be the case? Since boosting overweights inputs that were not predicted correctly, i...
Suppose I have a continuous variable $Y$ that takes values in $\mathbb{R}$. Assume that $X \in \{0,1\}$ with only around 25$\%$ of the $X$ variables being $1$. Running a least squares regression here results in an $R^2$ value of near $0$. What kind of analysis can we do to see if there is a relation between $Y$ and $X$...
This seems like a simple thing but it dawned on me I did not really know how to answer this. What are the criteria for being able to estimate an effect? For example, with the data set: dat<-structure(list(Y = c(100L, 556L, 25L, 32L, 15L, 56L, 95L, 455L, 253L, 355L, 422L, 45L, 458L), A = c(526L, 241L, 26L, 12L, 266L, 22...
I have a dataset of consisting of volume measurements as taken by 3 users in two trials. That is to say, each user rated each point twice, therefore I have 6 measurements in total for each point. I want to calculate agreement/consistency between the users. I'm reading about the Intraclass correlation coefficient (ICC),...
One standard distance measure applied in continuous data analysis is average sum of squared error. However, this method cannot be applied for point process data. And there is an alternative solution to this problem such as applying the time-rescaling theorem. Could someone please explain to me why average sum of square...
If I have a chi-square test of independence on a table with many rows, but only two columns, would this present a problem?
Let's say you had two hiking paths, A and B, and you were looking at the typical time to travel each relative to the other. Let's say there's two groups of people, young (Y) and old (O). Let's say young people typically take path A and old people typically take path B. Say the average time in minutes is mapped in the ...
I am reading this paper where the training has no labelled outputs. Consider the figure: Now there are no labelled outputs z. But they are still training it somehow. I see that it is reinforcement learning, but then reinforcement learning works in a different scenario where there are actions. I guess here they are sam...
For a student project, we got data like this: A one dimensional time series A classification label Two further features/parameters, unrelated to the time series At the end of the time series there is an event characterized by two features/parameters (in total these two features give 10 different combinations). The ti...
I am using a GLM to model my data. The response variable is binary and I have three predictors of which two are continuous variables and one is binary. Would the distribution of predictors be important when I am fitting the model? That is, would it be a problem if the distribution of the predictor is not uniform or Gau...
My intuition told me E(X|X) is X. However,I get stuck when when I try to evaluate it from the definition. How do I define f(X|X) ? would it be constant? Thanks for your help.
I spent quite a few hours trying to understand nested cross-validation and try and make an implementation myself — I'm really uncertain if I am doing this right, and I am not sure how to test if I am doing it right other than ask experts if I am indeed doing it right. I am trying optimize the hyperparameters of my feat...
I have a data from 2 cohorts. Each cohort can be divided into 2 identical groups (actually I have ~10 old and ~10 young people in each cohort). I made a hierarchical clustering of the whole dataset of ~40 people. Is there a way to say that the clustering is not random according to the cohorts? (Picture is attached). Th...
One way to analyze ranking data is to use the Bradley-Terry data by converting ranks to pairwise comparisons (e.g. a>b>c becomes a>b, b>c, a>c) This is called "rank-breaking" in the machine learning literature. (But it was proposed already by Thurstone in 1931 in the context of the similar Thurstone model.) I would lik...
If you do linear regression without regularization on close-to-singular data matrix $X$ (or it does not have enough data), the problem arises even in closed-form solution $w = (X^TX)^{-1}X^Ty$ when you do $(X^TX)^{-1}$. If you do logistic regression, your gradient would look like: $\frac{\partial L(w)}{\partial w} = X(...
I performed an experiment in which I measured the equilibration of a protein across two nuclei in a binucleated cell. This equilibration is expressed in percentages or proportions. I measured this for 18 binucleated cells at two different times. I expect the equilibration to increase overtime which is what I see. What ...
Imagine a real world scenario where you are only allowed to guess between 0 and 5% of the total population. You have to say "Here I think these 5% of people have trait A" and you aren't allowed to guess more than that. The other thing is, only 3-5% of the people have trait A. So it's not necessarily an easy trait to ...
In this paper the author explains why using two standard deviation (sd) is better than using one sd in scaling the regression inputs. I have a couple of question regarding that. 1- What does it mean that the coefficient of a binary variable is directly interpretable as the comparison of the 0's to the 1's? 2- Here the ...
Is it necessary for the random variables say X and Y to be defined on the same sample space to calculate their joint distribution function? I do not think so though I read it that way in a book.
Apologies for the rather vague title, I had difficulty explaining the question without making the title obnoxiously long. The manifold hypothesis suggests that natural data exists on or close to a lower dimensional manifold. There are plenty of real-world and theoretical examples of cases where this is shown to pan ou...
I am going to build a GLMM with R (lme4). And I found that several papers summarised the results in this way (the independent variables are categorical variables): I have tried to use anova function, but I only could get Chi sq and p value. And it is not easy to use this kind of reduce model when there are more than ...
I have multiple GAM models (1000) done for my cross-validation. Now I would like to combine all of these models to an average GAM model, which would be the final model used for prediction. Is this possible and how could it be done? The GAMs are made with mgcv package. Thanks!
I've collected some datasets for which I want to report a summary statistic. I produced normal probability plots for the datasets, and the data does not conform to a Gaussian distribution - there are extremely long vertical tails for the lowest and highest values, and very few values correspond to the mean. Therefore, ...
I'm trying to do time series prediction and I'm interested in training on MAE or other custom loss functions. For my problem I'd prefer having errors of {0, 10, 0, 10, 0, 10} as supposed to {5, 5, 5, 5, 5,5} so that I am occasionally hitting i.e. getting error=0. I tried rlm() in R and that saw an improvement versus lm...
I ran a polynomial regression in R and Excel and have gotten different coefficients, despite the fitted plots being the same. I wonder why. Here's the R code with data, coefficients and plot: x <- c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25, 26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,...
Suppose $U$ is a random vector satisfying $\mathbb E[U] = \mu$ and $\mathrm{var}(\|U\|_2) \le V$. Let $\bar{U} = U / \|U\|_2$ and $\bar\mu = \mu / \|\mu\|$. What is a lower bound on $\mathbb E[\bar U^\intercal\bar\mu]$ in terms of $V$? (For what it's worth, I have in mind a setting where $V$ is quite small compared to...
I had run artificial data using y=a+ax1+ax2+e. x1 is generated using Normal Distribution and e generated using Cauchy and Normal Distribution. The model i want to compare is ANN and SVM. When using Cauchy as disturbance in artificial data. The model tend to generate high RMSE. Why is that happen?
I want to know if my system is functional or not base on 30 trials. so what i did is, I have 1 group with 30 trials. the variable for the group is categorical success or fail. for 30 trials, the system has 30 successes. how to do the hypothesis testing? i feel like im very wrong. can i say this? using binomial te...
I had a couple of exercises about building a table for survival analysis under two different hypothesis: actuarial method and Kaplan-Meier. The only differences I know between this two approaches are the length of the intervals (given in actuarial method and "endogenous" in Kaplan-Meier) and the hypothesis on the censo...
The mode of a Dirichlet distribution with parameters $\alpha_1, \alpha_2, \ldots \alpha_N$, $\alpha_i > 1$ is: $$x_i = \frac{\alpha_i - 1}{\alpha_0 - N}$$. Where $\alpha_0 = \sum_k{\alpha_k}$. But its marginal distributions are $\text{Beta}(\alpha_i, \alpha_0 - \alpha_i)$, which have these modes: $$x_i = \frac{\alpha_i...
I am using a Clockwork neural network in Tensorflow to generate a sequence of words. Words are 21-length vectors containing either 0s or 1s (mainly 0s). The idea for the training phase is to provide the network a sequence of max_time words as input and the following word as output. Training batches are taken randomly f...
I have several sets of data-points, each representing the growth of a cell population through time under different therapeutic strengths plus a control one. I have fit a polynomial function to each of them using polynomial regression, and now have one function per set. In order to determine whether the treatments affec...
I am reading a book about data mining and am currently in a chapter about Principal Component Analysis. But I am not sure from the explanation in the book what the principal axes are and how to find them. If I have the feature vector $X = \{(-3,-1,-1),(0,-1,0),(-2,-1,2),(1,-1,3)\}$, how do I find the principal axes? Th...
I wish to plot error bars on a bar chart that represents the answers of 200 respondents, randomly selected from a population of 50,000,000, to a simple multiple-choice question. Here are the proportions of answers: Option A: 83% Option B: 4% Option C: 10.5% Option D: 2.5% At the moment I'm trying to use this formula: $...