instruction
stringlengths
9
38.7k
In negative binomial regression, the distribution is specified in terms of its mean, $\frac{pr}{1-p}$, which is then related to explanatory variables as in linear regression or other Generalized linear models. From the expression for the mean m, one can derive $\frac{m}{m+r}$ and $1-p=\frac{r}{m+r}$. Then, substituti...
I have a spectrum of some counts against wavelength, where both the counts and wavelength have a known error. I then have applied a Hermite interpolation to the spectrum in Mathematica. From what I gather, an upper bound on the error between the interpolation and the spectrum is, $$\max_x |f''(x)|\prod_{i=1}^n (x-x_i)$...
I have a random Poisson variable, $$X\sim Po(\lambda)$$ Also, the value of $X$ determines the value of $Y$: $$X=k\Rightarrow Y={k\choose{2}}= \frac{k^{2}-k}{2}$$ I guess there is no elegant way of writing a PMF, other than: $$\text{Pr}\left[Y={k\choose{2}}\right]=\text{Pr}\left[X=k\right]$$ What more can we say about ...
Given n trials, where, on each trial, you have a given probability of either winning or losing a set amount of money (with both the amount of money and the probability changing for each trial)- what is your probability of walking away ahead or at least breaking even? Edit: From reading Wikipedia, it looks like it might...
Say I have a frequency density data, for example 1,2,3,3,4,5,5,6,6,6,7,8,8,8,9,10 and then I compute the frequency of each number. Than I would like to know within what range 95%, 50%, and 10% of the data falls into. I imagine if I calculate 10% it will give me multiple ranges. What are these statistics called and how...
I have problems to understand when a non-centrality parameter is relevant. As far as I understood, if the t distribution is not centered on 0, a non-central t distribution is used. For example, in power analysis, it is assumed that an effect is present, therefore, a non-central t is used to calculate the probabilities....
Can we interpret p-value: $$P(T(x)>t\mid H_0:\mu=\mu_0)$$ in terms of usual conditional probability, which some random variable (T - test statistics) is conditioned on an event that some population parameter ($\mu$, which is a random variable) takes a certain value ($\mu_0$ in case of one sample hypothesis)? The, it co...
I have a limited statistics background, so I will try to be as specific as possible. I'm reading a paper on a method to fingerprint mobile devices using their accelerometer. To demonstrate that the method is robust, the author measures parameters from 16.000 devices; I don't know if it's relevant, but the parameters ar...
Recently, I ran into a case where I used two different methods to perform parameter estimation, and ended up with contradictory results. I am going to use a very simple example to illustrate the problem: estimating the parameter of a coin. I'll present two solutions to the same problem, and they seem to produce contrad...
I'm looking for a suitable test for the difference in two proportions when dealing with finite populations. The standard z-test seems to only apply to infinite populations, so you lose some power. It is of course possible to just do two confidence intervals with the finite population correction and check that they don'...
I have a time series of monthly sales data that is incomplete. That is, the product was partly out of stock and the sales of those periods are too low. I manually fixed this and wanted to plot the data and a forecast to see if my fixes are reasonable. So I came across this easy to implement excel forecasting technique ...
A problem from Chapter 10, section 8 of the Online Stat Book: I consulted a table of critical values of Student's t distribution, and it said 1.729 is the critical value for the 95% CI when the degrees of freedom is 19. Thus my calculation had this form: Upper Limit = 14.25 + (1.729)*(1.78425) = 17.334968 Was I mist...
I have a hazard function $\lambda$ for survival time T, is there a way to find the hazard function $\lambda_\alpha$ for T + $\alpha$, where alpha is some integer. I'm thinking $$S_\alpha(t)=P(T+\alpha > t)=P(T>t-\alpha)=\exp(-\int_0^{t-\alpha}\lambda(s)ds)$$$$=\exp(-\int_0^{t}\lambda(s)ds+\int_{t-\alpha}^{t}\lambda(s)d...
Background: coding in Python, utilizing pandas, statsmodels and scikitlearn (the former supports Poisson, the latter can easily split sample for training and testing). Very little experience in statistics. Let's assume I have a hypothesis: for every soccer game, several figures (predictors) can be used to estimate the ...
What is the difference between technique and model? Some say Linear Regression Model Some say linear regression Technique Do both of terms means the same?
I just learned the basics of SVM, and I have 2 questions about the solution for the non-separable case: In the separable case, the distance of all the support vectors from the hyperplane is the same, and they determine the margin. Now, in the non-separable case, is it possible that no support vector falls on the edge ...
I wanted to estimate confidence interval for standard deviation for some data. R code looks like follows: library(boot) sd_boot <- function (x, ind) { res <- sd(x$ReadyChange[ind], na.rm = TRUE) return(res) } data_boot <- boot::boot(data, statistic = sd_boot, R = 10000) plot(...
From Online Stat Book: I used the Stat Trek t-distribution calculator instead, and got this: Why is the result different from the one provided in the test, and the one calculated using the Online Stat Book t-distibution calculator?
I'm having troubles in understanding the steps performed by the ur.df function in R. I'm performing an Augmented Dickey-Fuller Test with drift to assess if my series has a unit root or not. The first time i chose to set maximum lags equal to 9 and the second time i set the maximum lag equal to 5. The function should se...
I would like to extract features from (without loss of generality) numerical data using unsupervised learning methods among these: transformations: PCA/ICA/NMF embeddings: T-distributed stochastic neighbor embedding. cluster based methods: k-means or similar kernel based: kernel PCA I also think about using auto-enco...
Based on this answer, and following the Applied Predictive Modeling text, I am running the following 10-fold cross-validated PCR analysis: library(AppliedPredictiveModeling) # data library(caret) # train, cv library(pls) # pcr function data(solubility) # cross-validation setup set.seed(1) cv_index <- createFolds(sol...
I wanted to develop an app similar to this on my own which is based on image classification using neural nets. While in early phases of my research I came across through terms Deep Neural Nets and Convolutional Neural Nets. What is the difference between two and which will be the best bet for me to work on for this pr...
I am struggling with one assumption usually made when using linear mixed models: the nature of the distribution of the random factor. (The first part of the question is more about biology --whether the assumption is justified-- but the second part is more about the consequences for the model if they are not.) Often we ...
I would like to know if there is a common recipe for when you have a dataset with a lot of variables. I have read about PCA, ICA and feature selection, but I'm not sure what I should try first and how to mix those techniques, for example with logistic regression. What is the most recommended approach?
I have 30 observations and 60 variables. I conducted a k-means cluster in R with 5 clusters. If I am supposed to choose only 10 variables to show that they have the impact on creating clusters more than other variables, what criteria should I consider?
I have been given a question: if U is uniformly distributed with mean 5, and variance 3, what is P(U<4)? This is all the information that has been given. I'm new to statistics and have tried to solve this using the formula: $f(x)=\frac{1}{b-a}$ $\text{Mean} = \frac{a+b}{2}$ $\text{Var} = \frac{(b-a)^2}{12}$ and...
I have paired data that come in the form of a pre-treatment ($Pre$) measurement and a post-treatment ($Post$) measurement. So for sake of example you can imagine my data set is the following $n=5$ pairs of measurements: Subject Pre-treatment Post-treatment 1 10 20 2 28 ...
Let's say you have a system to ask random people a polling question with an offer to buy something at the end of the poll. So your respondents fall into one of three categories Refused to answer at all Provided an answer or two but didn't buy anything Provided answers and also bought something at the end I want to cr...
Figure below shows the accuracy using different alpha values in L2 regularisation. As long as alpha is small in the range of $10^{-12}$ to $10^{-2}$ the accuracy remain the same. I do undarstand when alpha value is $10^{1}$ or greater it will increase the weights to a point where they do not fit the data optimal and th...
I'm working on a dataset to describe the relationship between length and age of bluegill fish and the linear model based plot looks like this: I hence tried using recursive partitioning algorithm as answered here by Matthew Drury. I tried the following code: df <- data.frame(x=length, y= age) tree <- rpart(y ~ x, data...
There are several measures of association (or contingency or correlation) between two binary random variables $X$ and $Y$, among others Pearson's phi coefficient Cramér's V I wonder how the following number $\kappa$ relates to known measures, if it is statistically interesting, and under which name it is (possibly)...
I am generating 8 random bits (either a 0 or a 1) and concatenating them together to form an 8-bit number. A simple Python simulation yields a uniform distribution on the discrete set [0, 255]. I am trying to justify why this makes sense in my head. If I compare this to flipping 8 coins, wouldn't the expected value b...
I came across the following standard multi-armed bandit problem: There are $k$ arms each generates rewards with unknown means $\mu_i$, $i=1,...,k$. Each observed (estimate) rewards $\hat{\mu}_i$ are within $\epsilon$ of true means, that is, $|\hat{\mu}_i-\mu_i| \leq \epsilon$. Let $\mu^\ast = \max_{i} \mu_i$ be the tr...
I have five ordinal variables with a 7-point likert scale attached to them, where all 7 possible answers have a "meaning" (for example: 1 = totally disagree, 7 = totally agree). These five variables together are presumed to measure "Feelings of Autonomy", this has been confirmed by several analyses. Now I have construc...
I am self-studying statistics (I am a undergrad mathematician). I learned all of my statistics from a mathematical statistics book based on measure theory. I learned (by "learned", I mean "read a book which contained one detailed chapter on this topic"): Estimation theory (MLE + other methods + asymptotic results) Hyp...
I'm new to R, statistics and time series, so I would really appreciate any help, explanations or suggestion on good readings on the topic. I have two time series representing the number of times a word, say "election", was used on Twitter and the number of times it was used on television, in a day for a month. I want t...
Suppose you have a training set and a testing set. You learn a clustering model (e.g., k-means) from the training set, and then you take the observations from your testing set and put them in the appropriate cluster. If the clustering you have learned is meaningful for the population that generated the training and tes...
I tried an artificial neural network (ANN) model. Using same data set, it gives a different answer every time I run it in MATLAB. Does anyone why this happens and can suggested the best way to analyze the result?
Problem definition: Predict user's next event date, based on previous event occurrences. The aim is to inter-corporate time dependent and time independent features. Data: +10 year transactional data generated by millions of users. 80% of users have less than 3 events. Prediction: Next event date I've gone through many ...
I have different N gram language models trained on a corpus. I want to show that increasing N really leads to an improvement in modeling the training set. I don't understand how to generate random sentences using them? Please explain mathematically using probability terms and if possible any directions to implement. I...
I would like to examine the inter-individual variation in foraging duration by a small seabird species (a storm petrel). I sampled small petrels in their burrows on a small island, and using telemetry devices I have quantified the time that birds spent away from the colony on foraging trips. However due to sampling and...
If I want to separate my data into training, validation and forecast, should the number of forecast and validation data be the same length?
I am trying to understand how logistic regression can use multiple variables to predict an outcome that is non-numeric. For example I have a titanic data set with 14 variables, 4 variables are strings, 4 are numeric, 2 are ints, and 4 are categorical factors. Now I use the built in logistic regression model in R to pre...
Say we have survival-time data that has a long right tail. Does it make analytical/statistical sense to set a time limit and then manually right-censor (top-code) all times-to-event that exceed this limit, then use survival analysis techniques to analyze this "censored" data? The censoring I'm asking about is not due t...
If we have X1,...,Xn iid with normal distribution $(\mu, \theta)$ where $\theta$ is the variance of the normal distribution, and an improper prior of $1/\theta$. How would I derive the posterior distribution for $\frac{n^{1/2}(\mu-\overline{x})}{s}$ where $s^2=\frac{\sum(x_i-\overline{x})^2}{(n-1)}$. I have gotten to...
Frank Harrell has started a blog (Statistical Thinking). In his premier post, he lists some key features of his statistical philosophy. Among other items, it includes: Make the sample size a random variable when possible What does it mean to "make the sample size a random variable"? What are the advantages o...
Working my way through a copy of Draper and Smith's Applied Regression Analysis. I am on the first chapter and looking at the section that involves deriving the OLS equations. No linear algebra has been used yet. The section I am looking at has started by presenting the sum of squared deviations equation, which has the...
I have data where the independent/predictor variable is a proportion (i.e., % of cognitive task trials on which speech used to support performance) and contains many zeros and many 100%. In some cases I'm looking at the bivariate relation between age and % speech, and in other cases I'm using % speech to predict perfor...
Is it acceptable to estimate panel equation with fixed effects when the common unit root is rejected, but individual unit root tests aren`t rejected ?
I had done a simulation study to see which model is better in prediction between ANN and SVM. ANN show good RMSE but high in bias. Is the result acceptable? What is the purpose of bias in simulation study? There are a lot researcher use bias in simulation.
Consider a simple linear regression model $Y = X\beta + \epsilon$ $ \ $. Let $Y_O$ be the least square predictor of $Y$ at $X = x_o$ , based on $n$ observations $ (X_i ,Y_i) $and $\overline X$ = sample mean for $ X_i $ then the standard error of the predictor $Y_O$ a) increases as $ x_o $ moves away from $\overline...
I'm studying machine learning and find an example question on the book which really confused me. Q: A scoring classifier is evaluated on a test set of 10 examples resulting in the following probability scores: 0.9, 0.8, 0.7, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1 with true classes: 1 1 0 1...
I know that for supervised classification one can use a confusion matrix to present the results. Is there an equivalent for this for clustering? And what's the best way to present clustering-unsupervised classification-results (k-means results for example)? By presenting the clustering results I don't necessarily mean ...
In my current project, I'm using PLS regression on infrared spectra (FTIR). For this I'm using R and the pls function from the plsr package. pls always mean centers both the input data and the infrared spectra. When predicting using a fitted PLS model, the means fitted during the estimation process will be subtracted f...
I would like to draw (Bayesian) inference in a dynamic linear regression with regression parameters following independent AR(1) processes $\beta_{t,i} = \mu_i+\beta_{t-1,i}+w_{t,i}$. However, I encounter problems with my Gibbs sampler and I do not find the mistake in my approach - every comment is highly appreciated: 1...
Let $(X_1, X_2, \ldots X_n) \sim \text{Dirichlet}(\alpha_1, \alpha_2, \ldots \alpha_n)$, what is the marginal distribution of $X_i - X_j$?
I have time series with objects and their geo points. X1 = [(time1, (longitude1, latitude1)), ...] X2 = [(time2, (longitude2, latitude2)), ...] ... XN = [(timeN, (longitudeN, latitudeN)), ...] This dataset represents moving objects on a plane. How can I detect anomalies within these dataset? I know that the majority o...
If you compare patients and controls with respect to many clinical variables, making a large number of statistical tests and finding that only few of the variables are significantly different, whereas most of the variables show no significant difference between patients and controls. Then it is obvious that the obtaine...
I am working through the book "Elements of Statistical Learning" and I do not understand why $Pr(dx,dy)$ is in equation 2.10 Background: This is what I understand so far: I am calculating the expectation value of the loss function $L(Y,f(x))$, thus: $$ \begin{eqnarray} E[L(Y,f(x))] &=& \int L(Y,f(x))\,\, Pr(X,Y)\,dxdy...
When dealing with a Cox regression model, we have to assume that the proportionality assumption holds. I have read about a lot of methods to check if this assumption holds or not but I have not really understood what does this assumption mean in practice. My professor explained it as the fact that given that a covaria...
I'm trying to wrap my head around some (crucial) details on how recurrent neural networks work and currently I'm having trouble understanding how the inputs align with the outputs when optimizing an RNN. Suppose a dataset of observations $D = \{x^{(i)}, y^{(i)}\},$ with $i = 1,..., N$ Vectors $x$ and $y$ are aligned,...
I am struggling with the analysis of a data set from an experiment done as follows: I have 5 blocks (that work as replicates) and each one of them was divided into two part (so split block), to each part a fertilization treatment was assigned (so fertilization treatment has two levels F and U). Each fertilization treat...
Im am following this excellent tutorial to get a better grasp on the concept of tv-idf: http://blog.christianperone.com/2011/10/machine-learning-text-feature-extraction-tf-idf-part-ii/ Everything is clear till the final part where this data has to be normalized; Mtf-idf = [(0,0), (0.41,0.81), (0.41, 0.41), (0,0)] This...
Can you explain the difference between the Jaccard similarity coefficient and the pointwise mutual information (PMI) measure? It would be great if you could add a few examples.
I have a dataset consisting of many product sales over time on a daily basis. I do know when promotions and discounts happen with four months in advance. When there are no promotions sales are 0 or very very low. However, when there is a promotion or (several promotions for a single product) sales really increase, so ...
I have just read about the usual mistake in Principal Components Analysis of confusing between principal directions and component loadings following the explanation and links here: Relationship between SVD and PCA. How to use SVD to perform PCA? After clarification of how to extract the loadings when performing PCA dim...
I implemented first order deming regression on an array of x and y values. I tried to calculate the confidence interval, which in my understanding should be two values (upper and lower) for slope and two values for intercept. When I plot these two values they should be two straight lines too However, I have seen in fe...
I have many paths which come from the same graph. I am trying to cluster these paths. First, I thought of using simply the Levenshtein distance. The problem is that two very short paths which do not have any node in common have a smaller distance than a very short and very long path which contains the shorter path (e.g...
I have a binary time series $\{X(n), n= 0,1,2,\cdots\}$, $X(n)\in \{0,1\}$ that can be written as: $$X(n)=S(n)+\epsilon(n)$$ Where $S(n)$ is a random stationary binary signal and $\epsilon(n)$ is a zero-mean binary white noise process (uncorrelated with $S(n)$). My question is what is the definition of a binary (or dis...
I am an archaeologist and I am devising rules for attributing objects to a certain region based a combination of region-specific traits. Particularly I would like to estimate probability that objects displaying a combination of two traits originate from the certain region. I consider (arbitrarily, I admit) the traits I...
If I run one experiment, and obtain a p-value of $p=.03$ and I have a priori decided that my $\alpha=.05$. I have a significant a result, I conclude that my data reject $H0$. If I run two identical experiments with the same study $\alpha$, both with a p-value of $p=.03$. Now as I have done two different tests, I correc...
This is a homework question but it is worded in a way that says "Find the answer" and not "Is there an answer". Heuristic knowledge on the course and how it's written indicates an answer as well so my friends and I are extremely curious if we're missing some angle. The question: We have a sample (1.0, 1.2, 1.4, 1.6, 1...
I'm looking for clarification on how many fixed effects parameters can be reasonably included in a mixed logistic regression without saturating or over-fitting the model. As a background, my dataset consists of roughly 40,000 telemetry locations from 20 individual caribou (~2,000 locations per individual), and I'm usin...
Say I have a lifetime variable with survival probability $S(t|\theta)$, and I estimate this probability by $$\hat{S}(t|\theta)=S(t|\hat{\theta})$$ How would we go about deriving the standard error of this estimate? Is there a general procedure to follow, or does it depend on the form of the hazard function of $T$?
Let`s say I have training data which contains 10 classes and have build a classifier using this data. When applying this classifier in real life it may encounter examples not belong to the classes in the training data. I want to build a novelty detector to reject these examples. I consider using one-class SVM from skl...
I'm really confused about the difference in meaning regarding the context of linear regression of the following terms: F statistic R squared Residual standard error I found this webstie which gave me great insight in the different terms involved in linear regression, however the terms mentioned above look a like quit...
In a textbook I am reading on image sensors the author uses the term "excursion" in reference to noise in an image sensor. Quote from the book: "Figure 7.26(a) presents a noise histogram for a sense capacitance that is allowed to vary by noise modulation. Note that the Gaussian distribution is skewed because of a chang...
I have built a log-log regression model, which is going to be used for prediction purposes. However, after applying the model to my data and obtaining predictions, the model drastically under-predicts. I understand that this is due to the multiplicative errors in the log-log model, since: $\log(y)=log(\alpha) + \beta...
I have a data set of 60 sensors. I wish to decrease the number of sensors used during an experiment, and use the remaining sensor data to predict the removed sensors. If I were to run principal component analysis on the full data set, would the features (sensors) that correlate with principal component 1 (PC1) recapitu...
Suppose I have two estimators $\widehat{\beta}_1$ and $\widehat{\beta}_2$ that are consistent estimators of the same parameter $\beta_0$ and such that $$\sqrt{n}(\widehat{\beta}_1 -\beta_0) \stackrel{d}\rightarrow \mathcal{N}(0, V_1), \quad \sqrt{n}(\widehat{\beta}_2 -\beta_0) \stackrel{d}\rightarrow \mathcal{N}(0, V_...
The question stems from attempting to predict if a loan in a peer-to-peer lending portal will be repaid or not. I have a historical data set of about 32000 loans, but not all of these loans are matured yet and I have 2 options here: Option 1 is that I could filter out the historical data about only the loans whose orig...
In order to test my program I need to calculate 95% confidence intervals (preferably even CDF) for a distribution of a renewal process with hypoexponentially distributed holding times: $X = X_{\lambda_1} + X_{\lambda_2}$, where $X_{\lambda_i}$ is an exponential distribution with ratio $\lambda_i$. If the holding times...
Within the framework of an experiment I followed to growth rate of bird nestlings. I measured them every day for weight and tarsus. I have a number of continuous and categorical explanatory variables, as well as brood ID that should be used as a random factor. I am asking for advice, what would be the best way to analy...
Is there any easy way to think about the value of the spectral density at the zero frequency? How do people interpret it usually? I have been studying some time series on my own and encountered a CLT for dependent data (covariance stationary and ergodic processes). The sufficient conditions of that CLT fail if that va...
I've been looking through the literature of multivariate quantiles (e.g. Chaudhuri 1996, Hallin et al. 2010). The definitions all seem reasonable and I can see how they extend the notion of a univariate quantile, but from the perspective of someone trying to use these quantiles to understand data, these seem to be much...
When comparing the performance of two binary classifiers using McNemar test, should the two confusion matrices of the models be based on the training set, the validation set, or even a second validation set that was not used for parameter tuning? What is the justification for the correct approach?
So I have two random variables, X and Y. And their scale location transformations are : U = a*X + b W = c*Y + d I'm given that a,b,c and d are constants. And their mean folow: E(U) = a*E(X)+b E(W) + c*E(Y)+d Now I'm asked to prove that their covariance folows: V(U,W) = acV(X,Y) and that V(U+W) = a^2*V(X) + c^2*...
Consider a classification problem where we have 2D data and there are 3 classes. We train a model on the data, and obtain a parameter w. Now, lets consider a target scenario, where we know that the data distributions have shifted. I know that the shifting is such that the class means (i.e. mean of all data in each clas...
I would like estimate Best Linear Unbiased Estimates. I have data like this. set.seed(1234) data1 <- data.frame (entry=rep(1:20, 3), repl = rep(1:3, each=20), yld = rnorm(60)+50) require(nlme) data1$entry <- as.factor (data1$entry) data1$repl <- as.factor (data1$repl) # with intercept fm1 <- lme(yld ~ entry, rando...
After looking at Hyndman and Koehler, 2006 and applying the metric to my own data, I have been convinced that MASE is a better metric for evaluating forecast error than the method I had been previously using (MAPE), at least for short horizon forecasts. However, I am struggling with how to interpret the value of the M...
[Are the residuals from a nonlinear regression model supposed to be randomly distributed too (as in linear regression)] if the data is heteroscedastic and the objective function is weighted by the inverse of the variance for each data point? This question was asked and answered in part here: Residual plot for nonlinear...
I understand what cosine similarity is and how to calculate it, specifically in the context of text mining (i.e. comparing tf-idf document vectors to find similar documents). What I'm looking for is some better intuition for interpreting the results/similarity scores I come up with. My question: If I have a cosine s...
I'm learning about devising single sampling plans for quality control, and I'd like to learn how to solve for the key parameters. Specifically, I have two related questions. Suppose my boss specifies the quantities \alpha (the producer's risk), \beta (the consumer's risk), p_1 (the acceptable quality level), and p_2 ...
Question: Why does the random forest do really well for the first class, then switch after 52 trees and do well for the second class, then switch again and do really well for the third class? Background: I have a three-class classification problem with balanced classes (96000 samples from each class). I take 80% of the...
I currently have a 2D probability density function and need to draw a 2D ellipse that circumscribes 50% of the probability "mass" (if that is the right terminology). I see lots of articles on how to draw these ellipses for traditional x,y scatter-plots, but none for 2D probability density functions. My attempt involves...
I am designing a regression following the advice tho include control variables if they could have a causal effect on the dependent variable and if the variable is correlated with the independent variable of interest. How correlated does an independent variable have to be to the variable of interest to be included as ...
I have a dataset which contains time-series data of water flow over time. I have a flow meter connected to a kitchen faucet, and I am trying to cluster or classify specific water usage events. The data is collected every second, and in each row I am given a value for the amount of gallons which are flowing through my f...
So I read this about representative samples and I think what I want is to accurately portray the views held by "Europeans" on a certain topic. How many people need to be included in my representative sample? I'm thinking of research like this, portrayed in the media like this.
I'm performing analysis for a colleague who has data from two biological conditions. Since clustering is a standard in our field, she'd like to perform clustering on each condition separately, with the goal of identifying datapoints that change clusters between conditions. For example: Here, we'd want to flag datapoin...
I'm learning about allometric relationships and how to derive the parameters from regression equations. I've seen that you can fit a linear regression model by taking the log of both the X and Y variables of your data that have an allometric relationship. Then you can use the coefficients of the slope and intercept to...