instruction
stringlengths
9
38.7k
In this paper, Table 2 shows some values in parentheses. The paper doesn't seem to include an explanation. As an example, 82 patients out of 94 with Radial head fracture showed No HO (Heterogeneous Ossification) whereas 12 patients showed HO. But what do the 25% and 31% in the parentheses mean? Additionally, I will be ...
I have doubts about which is the best way of performing an analysis. It is the first time that I face this type of data. Briefly, I am investigating if a number of variables are associated with the choice of a nest box. For this, I have data from 100 birds. These data consist of different nest boxes that have been visi...
I am doing an experiment on cell cultures comparing how some treatments affect the parameter of the cells. I have 3 replicates of the culture for each treatment, and in each culture, I measure the parameter of the interest in multiple cells (n is different for different cultures). Now, I want to infer if my treatment h...
I am reading this article, which explains how the algorithm replaces the actual loss function with so-called 2nd order Taylor expansion. I can understand til Step 4, and can't understand step 5. I understand this, this is from step 4: But when it is going to step 5, I can't understand it: Where does the 2 under the '...
If an ML model predicts item-level demand for an e-commerce company and this output is used to re-distribute stock spend, then without understanding the underlying causal structure of the variables which affect item-level demand, then the correlation-based patterns recognized by the ML model would be compromised as the...
I have a dataset of 300 independent variables and 120,000 observations for which I will perform a binary logistic regression on my dependent variable. Because of the linearity assumption between the logit transformed independent variables and my dependent variables, I am performing a Box-Tidwell test. I read in the bin...
I have read many references which suggest that RMSprop and Adadelta are basically same, just developed independently. However, Keras has two different classes for it. Also, it allows RMS prop to have momentum but not AdaDelta. In this link as well, RMSprop and AdaDelta have different trajectories. I want to understand ...
I'm not an expert in statistics. Currently, I'm working on some allometric equations and in the literature I found: According to the foot note in the table (and as intuition would dictate) the 95% confidence interval for let's say "All non-hoppers" would be [6.2/1.12, 6.2*1.12]. Hence, the limit become [5.54, 6.94]. ...
Why increasing the sample size increase statistical significance? How to mathematically show that when we get more samples, the small difference would become statistically significant easier?
I have those two following generalized linear mixed models. The object Sbiomass is modeled as the sum of biomass in several replicas. The objects x1 and x3 are discrete variables, x1 is a continuous variable. glmmTMB(log(Sbiomass) ~ x1 + (1 | x1/x3), data = mydata) glmmTMB(Sbiomass ~ poly(distance,3) + (1|x1) + exp(x2...
I hope you can help me. I performed a pre-post study with two Trainings (ViStra & LeStra), and I measured safety outcomes (e.g. Knowledge, attitudes, behavior, etc...) with questionnaires before (T1) and after (T2) the training (Time). Participants (ID) took just one of the Trainings were nested into 5 companies, and w...
If the assumption of homogeneity of variances is met, how could the variances be different among groups in ANOVA (the analysis dealing with between/within variability) ? That is for me, ANOVA is something close to: the ratio F = variance between groups / variance within groups. So, if the (between/within) variances sho...
I want to simulate fictional studies to illustrate some aspects of a meta-analysis. My simulation setup is simple: All studies compare two independent groups drawn from normal distributions with equal standard deviations and a fixed mean difference of $\delta$. I want to vary the sample size for each simulated study. F...
I am trying to prove that the sample variance formula is unbiased. Firts, let $\mathbb{E}(X_i) = \mu, \text{Var}(X_i)=\sigma^2=\mathbb{E}(X_i^2)-\mathbb{E}(X_i)^2, \bar{X}=\frac{\sum X_i}{n}$. $\mathbb{E}( \frac{\sum(X_i-\bar{X})^2}{n-1}) =\sigma^2 $ can be transformed as follows. $\mathbb{E}( \sum(X_i-\bar{X})^2/(n-1)...
I'm running a KMO test in R to determine factorability of data using KMO(data_matrix) function. I read that this is a recommended step as part of structural equation modelling, to determine whether the data is suitable for factorising (part of EFA). The output is an overall "MSA" value for the data set as well as indiv...
Does anyone have any experience with using g-methods when outcome and covariates vary with time? I found the R package gfoRmula with this documentation https://www.cell.com/patterns/pdf/S2666-3899(20)30008-8.pdf but little details of what to look out for in the outputs or how to choose the models. My questions are: 1...
I have a multiple-time series problem. I have a dataframe with regions in columns and dates in rows (which represents the week of the year). Each value is the number of events that occurred in that week for that region. I would like to classify if yes/no in the following (next) week, an event will occur in a given reg...
The Problem Let's assume I have a problem that seems perfect for supervised learning. However, some of the measurements I would like to use as features are not point estimates but are instead distributions representing my uncertainty about the measurement e.g. the output of a Bayesian model. How do I use these distrib...
I am using an external regressor in the variance equation of a GARCH model (rugarch). However, the value of the GARCH coefficient is coming out to be zero with a p-value of 1 and the coefficient of external regressor to be significant, when I am using the ged distribution. When I am using the std distribution, the GARC...
I am following the paper Understanding and Using Factor Scores: Considerations for the Applied Researcher Applied Researcher which is about constructing factor scores in a confirmatory factor analysis using different methods. I am interested in the following methods but while the paper makes sense to me, I am not sure ...
While Analysis of Means (ANOM) is available through R, SAS, JMP, and presumably other statistical platforms, I am having trouble finding an implementation in Python. Is there a way to do ANOM in Python? Any help would be appreciated, especially in regard to graphically displaying the ANOM results (i.e., plotting arith...
Sometimes I have seen likelihood written as $L(\mu,\sigma |y)$ and sometimes as $L(y|\mu,\sigma)$. I have been told that in the first case it means that there is a pre-assumed model depicting the probability density of $\mu$ and $\sigma$ parameterized by $y$. In the second case it means the pre-assumed model depicts th...
I'm sure I have a very easy question I'm trying to answer, but as a qualitative researcher who has found themselves trying to help an undergraduate on a quantitative project, I need some help. I'm trying to determine if there are relationships between social media post engagement (number of comments) and the following:...
The original presentation of variational autoencoders, VAE assumes the mean $\mu$ and the sd $\sigma$ are functions of the input variable, say $x$. I am studying "Learning Structured Output Representation using Deep Conditional Generative Models" by Sohn et al. and came across the lines The prior of the latent variabl...
let's suppose I have a dataset with 3 different variables (features) for the same geographie and then calculate the Moran's values for each one. All my variables have a p-values<0.05. Can I compare this variables and says: the higher the Moran's value, the more significant is that variable in relation to the others?
Generally, training data is of shape $\mathbb{R}^{n \times m}$ data where $n$ is the number of samples and $m$ is the number of features. The training data can be represented in a table such as feat1 feat2 ... feat n label Val1 Val2 ... Val n label1 Val1 Val2 ... Val n label2 In this case, as you can see ...
I work in manufacturing and must report to my boss how effective our sampling is. Can someone please point me in the right direction? This is an attribute specification of porosity in a casted part. The data is recorded as a boolean, "is the amount of porosity acceptable: yes or no." The sample is 4 consecutive part...
Relevant context: epidemiologists define an outbreak according to six defined stages (investigation, recognition, initiation, acceleration, deceleration, and preparation). From a local perspective, it would be useful to determine what constitutes a change from one phase to another, as they call for different resource a...
Let N be the number of examples, M be the number of features. We are trying to create a linear regression to fit the training samples. When N == M, do we have perfect 0 training loss? When N > M, do we have unique or many solutions? When N < M, do we have unique or many solutions? Attempt: Depends, but if the in...
I have a factor variable with two levels that represent a patient's baseline condition. I have separated these patients into two groups based on another variable - these two groups do not have the same number of patients in them. Using a chi-squared test, I want to compare the distribution of this baseline condition be...
I'm learning about outlier detection and I wrote these two methods to get the row indexes of the instances that have outliers so I can drop them later. The problem is I'm getting two numbers very far from each other with these two methods. I would like to know if interquartile range tends to identify more than zscore o...
I investigated the effect of weather variables on disease severity. My response variable is proportion of disease severity observed in different years. The study is conducted over 10 year and disease was assessed 3-6 times a year, but only final disease assessment has been considered. The response variable is continuo...
I read a paper a few years ago that specifies a multivariate GARCH model with a particular form of rolling correlations. The GARCH literature is full of abbreviations and differing terminology which is probably why I have not been able to track down this particular model. In this model, variances are modeled separately...
Given a distribution p(x), there are two things that can be calculated. Value of x for which p(x) is maximum. Most probable value of x weighted over p(x). Would these two values of x be the same?
I've been trying to run some stats to check for correlation between an ordinal categories (such as body conditions classes) and a continuous variable (such as body measurements in cm). I'm really struggling to find a test that I can run that is suitable for this type of data. I have paired measurements from each indivi...
I am training a 3D Unet model with MAE loss to synthesis MRI scans from CT scans. The learning rate is 10e-3, and I am running it with a batch size of 6 through 600 epochs. The validation loss looks like this: This was trained on 102 CT/MRI pairs with 6 validation pairs. I then tried with 96 CT/MRI pairs and 12 valida...
When performing linear regression with one variable, one can compute Fisher's test with value $F$, and derive Student's test $T=\sqrt{F}$. When there is more than one variable, the relationship $T=\sqrt{F}$ no longer holds. Is there a relationship between $F$ and the different Student tests $T_i$ (one for each variable...
I saw a post on why MLE and MAP yield the same result when under uniform prior. But, I was wondering about the case when they are under Gaussian Prior. I suppose they are different in this case but I do not know the right way to explain this. Can someone tell me if my assumption is right? and provide more explanation?
Suppose I am modeling survival with the hazard rate specified using logistic regression, and the model is adequate for the data. Now add censoring, and the model formulation becomes a bit more cumbersome and the implementation a bit more involved. That holds if we assume censoring to be independent of the survival proc...
This is a actually very basic question, but I can't get my head around it. I have two datasets for Europe and U.S. that contain the same two variables. These two variables are in a linear relationsship, which I proved by statistical t-testing. Now I want to check if the two regional differentiated data sets can be comb...
I am tasked to model a set of questionnaires in order to investigate about the food insecurity in the region where my project takes place. Using the Rasch model, I was able to conduct the protocol provided by the FAO organisation and the values respect the ranges of validity. However, I will be charged of communicating...
Given is a random variable $X$ with finite fourth moment. Let $\gamma_3$ and $\gamma_4$ denote its skewness and kurtosis respectively. I want to prove that $$\gamma_4\geq 1+ \gamma_3^2$$ I have seen a few proofs about the multidimensional case, but is there a simpler proof for the one-dimensional case?
Say I fit a logistic classifier on a supervised dataset with binary labels. If I select a threshold of decision of 0.5, which assumption am I implicitly making? Is there any situation where 0.5 makes sense? This page suggests that we should always tune the decision threshold to optimize some target metric of interest. ...
I'm running two sequential surveys on the same population, and I have a question about the proper sampling methodology in the second round of a panel that is also meant to get population estimates. I work more in Python but I will likely do this in Stata. First round is actually done, but let's keep it and say I run si...
in our study, we look at the effects of typical/enhanced body checking on eating pathology before and after the intervention, depending on the level of body concern (see below). Since the assumptions for a 3-way mixed ANOVA are not met, we'd like to conduct the robust alternative using the WRS package on R. There is a...
For example, how to fairly compare the performance of XGBoost/LightGBM to the performance of a Feed-Forward Neural Network? Especially regarding (1) Data Preprocessing and (2) Hyperparameter Tuning? Both steps can differ greatly for the mentioned algorithms - so how to make sure the results aren't biased due to subopti...
I have the following data: data <- data.frame(id_pers=c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11), Income=c(10000, 12000, 1000, 9000, 10000, 16000, 100000, 120000, 119000, 10000, 11000), family=c(1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5), BIRT...
I have the following data.data set Then I got a t-value by running excel. t-stat The thing is, I wanted to know how I could get this value without using excel, and just by finding a suitable equation by myself. What I found is this. equation, where x-bar is the sample mean, u is the population mean, n is the sample siz...
Data description I have a data set consisting of multiple measurements of different molecules (cytokines) in 72 patients. In each patient, we measured the concentration of 50 different cytokines (so the total data set consists of 72 x 50 measurements). In addition, other information about these patients was collected, ...
I conducted a multilevel binomial regression (glmer) and I obtain quite wide confidence intervals for my odds ratio. What could be causing such large 95% CI and what can be done to provide more precise CI? Is it right to assume that odds ratio can be interpreted in the same way for a multilevel logistic regression as f...
Dataset description My dataset features are: some features not important for this question Price (target) Collection (categorical feature, there are 1.8k collections) latest 10 prices (time-series, latest price of the same collection) up to 37 attribute features (the number and type of attributes depends entirely on t...
I'm dealing with the Johansen cointegration test before running an ECM model. I cannot figure out which type of test execute: with/without constant, with/without trend, ... How can I choose the correct version? Do I have to do it a priori? And if the test tells variables are cointegrated with trend, what does it mean? ...
library(lme4) fm1 <- lmer(Reaction ~ Days + (Days|Subject), subset(sleepstudy,Days<=5)) g<-as.data.frame(ranef(fm1)) cor(g[1:18,]$condval,g[19:36,]$condval) [1] -0.07753203 summary(fm1) Linear mixed model fit by REML ['lmerMod'] Formula: Reaction ~ Days + (Days | Subject) Data: subset(sleepstudy, Days <= 5) REML c...
I have two sets that contain (partially overlapping) attributes in different quantities and I am looking for a method to compare the similarity between the sets based on the attributes and their quantities. I am new to this and I would appreciate any help! Update: example Set A contains pizza: 3, soda: 5, cake: 2 Set B...
Summary: How do I ensure that sample I create for labelling is representative enough and would be appropriate for modelling, given I cannot include all feature combinations in it. I have a tabular dataset of about 8000 samples (unique IDs) in the following format ID Feature 1 Feature 2 ... Feature 10 Target 13 ...
My question is similar to this question, but with an additional question on top of it. In the code below from the reproducible example data question: glmmTMB with autocorrelation of irregular times, they show how random effects (intercepts) of mixed models without autocorrelation terms can be extracted and plotted. # M...
The silhouette score in my case gives quite misleading results, any alternatives? My data is a result of embedding words, which belong to one of the 20+ classes. I want to measure the "clusteredness" of words belonging to the same label. Often times words of the same label cluster into a 2-3 well defined blobs, which i...
I am trying to understand the impact in the IV estimate when zero coefficient is obtained in the first stage.
Suppose 2 continuous variables X and Y. Their Pearson correlation equals 0.8. This correlation is symmetric (it does not assume a dependent or independent variable). We proceed to a linear regression, in which we regress Y on X. Regardless of the unstandardized solution, we immediately go to the standardized solution (...
What is the difference between Hierarchical GAMs (HGAM) and Mixed GAMs (GAMM), if any? I am looking to model time series of count data against a range of candidate explanatory variables (hoping to understand which environmental parameters could explain the fluctuations). I have a year of data at 7 sites, quite differen...
So I’m doing a multiple regression analysis with Y and 6 features. I realize that Heteroscedasticity exists between Y and 2 of the independent variables. How can I deal with this problem? Y is already normally distributed so using log transformation wouldn’t be optimal, besides Heteroscedasticity only happens with 2 of...
Assume we have $y_i$ such that $\sum y_i=0$. Assume we have estimation machinery (some machine learning) which can estimate each $y_i$. So we can forget constraint and eastimate each of them, or we can estimate (n-1) of them and assign one of them as minus sum of estimates, or plenty other ways. So the question is: Wha...
I'm trying to model latency to eat in subjects that were each given a treatment and control test three times (so there are six observations per individual, N = 24). My model violates the proportional hazards assumption (PHA) and running two separate models, one with time to event </= 30 and one with time to event > 30 ...
I am trying to simulate a AFT Weibull model in R using a log-linear model \begin{align} log(Y)=\beta_0 +\beta_1 X1+\beta_2 X2+c W \end{align} where $W ~$ a extreme value distribution. below is my simulation code: install.packages("extRemes") library(extRemes) n<-500000 x1<-rnorm(n,0,1) x2<-rnorm(n,0,1) err...
I'm developing meta models based on Zero Inflated Model (sklego.meta.ZeroInflatedRegressor) That is, they are models that have two tasks to perform: Train a classifier to tell us whether the target is zero, or not. If the classification is not zero, then... Train a regressor on all samples with a non-zero target. Cod...
What method we need to use to measure a corellation between numerical continuous X and categorical (binary) Y for feature selection? The sources about this case are very confusing. This article says, that we can use Point-biserial correlation for numerical X and categorical Y, but in the scipy documentation says: used...
I am hoping someone can help me with figuring out something I came across in this article ((https://support.sas.com/resources/papers/proceedings/proceedings/sugi29/165-29.pdf). On page 5 the authors say that "For the matched analysis, differences between matched pairs were evaluated using the signed rank test for conti...
Problem. I have few data sets containing real values (aka observation and prediction). >85% of data values are oscillating between two values exactly (e.g. 0 or 10), while the rest are real numbers in between (thus, it is dominated by only 2 states). I am planning to choose a method to calculate similarity (e.g. pair t...
We collected data regarding the loss of subscriptions for a certain service. We know the losses to be around 1000, and we got responses from around 500 ex-members, explaining the reasons for leaving. The reasons were divided into 6 categories. Is the sample size large enough to extrapolate the sample proportions (ex: r...
I'm conducting a meta-analysis that consists of 15 studies and ~40 construct effect sizes. Most of the constructs and studies use continuous variables and were straightforward in finding standardized mean differences (cohen's d). However, two studies use dichotomous variables and report the % of subjects who reported t...
Naive Bayes assumes that the features given their classes are independent, and hence : $$P(y~|~x_1, \ldots, x_n)= \frac{P(y)P(x_1,\ldots, x_n~|~ y) }{P(x_1,\ldots,x_n)}$$ Will become : $$ P(y~|~ x_1,\ldots,x_n) =\frac{P(y)\prod_{i=1}^n P(x_i~| ~y)}{P(x_1,\ldots,x_n)}$$ That is, due to the assumption that the features c...
This is a terminological question (now heavily edited). I have two yes/no questions – Question 1 and Question 2 – that differ by only one word. My hypothesis is that response is related to wording (in respect of that one word). I randomly assign the questions to 200 people. Here are the results: Yes No Questio...
Suppose we have a two groups of people, A and B and we have measured 50 features, e.g. blood markers in these people and we would like to know which features are different between the two groups and statistically significant. Usuaully I would apply a statistics test like Mann-Whitney-U on the distribution of each featu...
if I need to calculate the sample size for a study containing a target group (HIV+) and control group (HIV-), and I have found in the literature only the variance R^2 using a multiple regression analysis. Is there a certain formula that I could use to calculate the sample size using this variance that I found in the li...
Why there is no alpha argument ( smoothing parameter in Laplace smoothing) for GaussianNB() in sklearn library? ? Although BernoulliNB() and MultinomialNB() have an alpha parameter but GaussianNB() doesn't have ? So how the zero probability problem is handled with GaussianNB()
I asked this question on stack overflow and was advised to post it here instead. I am trying to run a diff-in-diff on a dataset at the person-day level, where all individuals in the dataset are treated, albeit at different points in time. There are 5 treatment dates, so, for instance, person X receives the treatment o...
How can I statistically compare subsets of the significant correlations produced from Pearson correlation analysis (r-value, p-value) and Benjamini-Hochberg multiple testing adjustment (q-value)? To help illustrate my question, here's an example: Pairwise correlations are calculated from continuous data for 26 variabl...
Right now my organization runs a lot of promotional campaign every month. We send email, SMS and WhatsApp to all customers for each campaign. I am running a project to identity the best channel for a promotional campaign. All the channels have have similar range of CTR. But using all channels for all customers is a cos...
I have a sample of 92 monthly observations (n=92) returns of an asset in %. I calculate the variance of these 92 returns. Now, I divide this sample into positive (n=85) and non-positive (n=7) returns. I calculate the variance of both of these subsamples. If I add the variance of the subsamples, they do not add up the t...
I would like to know if it's possible to use a confusion matrix to measure the performance of a classification tool outside the realm of ML or a statistical model. For example, if I had a small script that scanned for a virus within a file. If I were to run it over n many files, and collect the results into a confusion...
Question When doing surveys with a population, we obviously don't replace by design. Why is it then that the mathematics and statistics described in textbooks seems to be veering more on the side of sampling with replacement than without? Background I want to determine the equivalence of doing n-Bernoulli trials with c...
I have a matrix data consist of 40 variables (year data) with 1500 obs. I used this code: jjas <- df pca.jjas <- prcomp (jjas, center = T, scale =T) Here are the results both variance explained and loadings. head(expl.var) # [1] 86 6 2 1 1 1 pca.jjas$rotation # PC1 PC2 # y1981 -0.1628 0.092 # y1982 -0.1...
I know that there are some libraries for measuring data complexity. For example: https://github.com/lpfgarcia/ECoL https://github.com/jcelias98/Complexity-Measures But I'm not sure if they can be applied to images. Is there any library like these ones for dealing with images?
I want to investigate whether the values of ten dependent variables (collected in a monthly resolution) are influenced by time (in years), and, for this, I intend to perform ten linear regressions, one for each dependent variable. As not all these variables had a normal distribution, I transformed the monthly values in...
all, I just conducted the power analysis for a lab study I am hoping to run soon. The main idea is comparing the difference in means across three conditions with a balanced one-way ANOVA (see image below). Basically, I am amazed at how underpowered I am with moderate effect sizes. Unless I set large effect sizes (f=0.4...
I am making a 10*10 distance matrix which includes distances(only via road) from one city to another. When I search for the distance between two cities, we get, let's say, 100,136,152 for those two cities. To include in the matrix which value I should consider its mean, median, mode, or other, what will be the justific...
What are some package for generalized linear models that give non-negative regression coefficients without regularization? I checked the thread (Nonnegative generalized linear model), but many packages mentioned there have some properties that make them hard to use for my case: the glm.cons function from zetadiv uses ...
I have a quite large data set (approximately 1500 individuals, with very few missing values). My goal would be to predict age (thus, a positive, continuous outcome) using approximately 10 ordinal variables representing biological/developmental indicators. Each ordinal variable has exactly 8 stages. What method would be...
The goal is to roughly estimate the probability that a sum/average of k randomly selected values without replacement, taken from a known set, will be within the range [a, b] So far the experiment was simulated and values were randomly selected thousands of times. This is highly inefficient. Is there any method that is ...
I want to test if lower quantiles lead to lower effect sizes of quantile regressions. The regressions were made across different, nested, contexts. Specifically, I made correlations for 3 percentiles (10th, 50th and 90th), using three different estimates of the response, coming from 3 different databases, in each of 1...
I have Machine learning Model which estimates the churn probability in the next 6 months , for a given customer. Is there any mathematical way to estimate the following - 1)Estimate the probability of the event(churn) happening in the next 1 month. 2)Estimate the probability of the event(churn) happening in the next 12...
I am working on building a logistic regression model. I have 5 variables A, B, C, D, and E. Based on my domain knowledge, I know that A can interact with B, C, D, and E. But the condition is I can only add 1 interaction term to my model. Assuming, all the interaction terms, when individually added to the model, are sta...
My thesis questions on whether a certain type of thoughts are associated with stress levels. There are two types of thoughts and two different levels. What should I use? The first variable is the direction of thoughts (upwards vs downwards) and the controllability of thoughts (controllable vs uncontrollable). I also co...
Per this link on Deep RL (context not required, this is just a conditional probability question) we have: The On-Policy Value Function, $V^{\pi}(s)$, which gives the expected return if you start in state $s$ and always act according to policy $\pi$: $$ V^{\pi}(s) = \underset{\tau \sim \pi}{\mathbb E}[R(\tau) \mid s_0...
I have a set of people objects, each with a unique ID and possibly non-unique name. I'd like to sample some number of them and ensure the sample does not have duplicate names. My issue is that the naive method, of resampling any duplicated names, results in people with non-unique names having a lower probability of bei...
I am trying to compare two matched samples. In total I have a sample of 34 people. Each patient receives two treatments, a C1 treatment and a C2 treatment. So each patient will be compared to himself according to different parameters. Some of my variables are normally distributed while others are not (or even not unimo...
Nearly all of the papers and posts I've seen focus on the equivalence of confirmatory factor analysis (CFA) or structural equation modeling (SEM) with item response theory (IRT) models when the data are binary or ordered. Here's a related, example post that doesn't address this Item Response Theory vs Confirmatory Fact...
This is a follow-up to a question I asked a week or two ago, which I feel didn't get to bottom of my puzzle. I have two questions, Question 1 and Question 2, that differ by only one word. My hypothesis is that most people will answer "Yes" to Question 1 and "No" to Question 2, and that this will be an effect of the dif...
I am looking for some distance (or similarity) measure between two sequences, possibly of different lengths. Conceptually, I would like a measure with a property that $[3,1,5]$ is similar to $[3,1,4,5]$ (just one insertion), and $d([1,2,3], [1,2,4]) < d([1,2,3], [1,2,99])$ because 3 is closer to 4 than to 99. I do not ...
I don't get the solution of an exercise. The exercises is this: Let $Y$ be a normal random variable with mean 3 and variance 16. Let $V=\frac{4-Y}{3}$. Find $Var(V)$ I got $E[Y]=3$, $E[V]=1/3$, but I don't see how to compute the variance. Specifically: $Var(V) = E[V^{2}]-E[V]^{2}$ $Var(V) = E[V^{2}]-(\frac{1}{3})^{2}...