instruction stringlengths 9 38.7k |
|---|
Suppose I have a prior $\pi(\theta)$ and likelihood $f(x|\theta)$, where $\theta$ takes values in $\{0,1\}$. I implement the following procedure
For $i = 1, \dots, T$
Simulate $\theta_i \sim \pi(\theta)$
Simulate $x_i \sim f(x|\theta_i)$
At the end of this procedure, I am left with a collection of $T$ pairs $\{(\thet... |
I'm new to machine learning and advanced statistics so please be patient with my basic question.
I am currently trying to model a data set I have with bunch of time data as independent variables (i.e. hour, day, month and year). With a continuous variable as the outcome, i.e. money.
My understanding is that you must c... |
I have labelled data composed of 10000 positive examples, and 50000 negative examples, giving a total of 60000 examples. Obviously this data is imbalanced.
Now let us say I want to create my validation set, and I want to use 10% of my data to do so. My question is as follows:
Should I make sure that my validation set ... |
Objective: Working with time series of historical price data that is liable to have outliers and wish to apply a defined procedure to identify the outliers.
Procedure: Take time series and apply Tukey median based smoothers, so this splits data into two parts a smooth part and a residue part. Take the residue part and ... |
What is the proper test to determine whether the coefficients of variables in the same linear regression model are different from each other?
Specifically, the variables I am referring to are different levels of a categorical variable and the coefficients may be close enough to each other that there actually is no di... |
A woman claims she has "magical powers" and can guess the correct value of any card in a four-card deck 50% of the time (of course, for someone without magical powers, this value would be only 25% of the time).
To test this claim, the woman guesses the value of a card from a shuffled deck six times. She guesses the cor... |
Is there any other method to compute the sample autocorrelation function (ACF) of AR(p), the p$^{th}$ autoregressive model except the Yule-Walker equations?
I want to determine if ACF is 0 except at lags 1,5,6,7 for the model:
$X_t$ =$Z_t$+ $\phi_1$$X_{t-1}$+ $\phi_5$$X_{t-5}$ + $\phi_6$$X_{t-6}$ + $\phi_7$$X_{t-7}$
An... |
This is regarding the first exercise in Sutton and Barto's book on Reinforcement Learning. I have a few questions about the exercise; I am not looking for an exact solution.
Exercise 1.1: Self-Play Suppose, instead of playing against a random opponent,
the reinforcement learning algorithm described above played agains... |
I've had to run 5 different ANOVAs (identical 4-way mixed design ANOVAs including the same factors, but on a different dependent variable [a gait parameter] each time). In this case, what would be the best way to correct my p-values? Let's say I'm using Bonferroni (for example)... am I dividing my alpha by 5 since that... |
A certain researcher has a Beta(2,1) prior distribution on the success rate of a new ointment. $k$ is the probability that the ointment works successfully on a patient. If the ointment is tried independently on 4 patients and works successfully on $X$ of them, what is $P(k\leq0.25|X=2)$? What is $E(k|X=2)$?
How might ... |
I'm having trouble understanding exactly how to obtain the regularization parameter when pruning a decision tree with the minimal cost complexity approach. Assume the cost complexity function is represented as
$$C(T) = R(T) + \alpha|T|,$$
where $\alpha$ is the regularization parameter to be chosen.
Utilizing the entir... |
I know what margin of error means in a poll with two choices. For example, if a poll estimates two candidates are to have 45% and 55% of the vote respectively and the margin of error is 4%, then we can say with 95% certainty that the first candidate will receive between 41% and 49% of the vote. This means that the seco... |
I have a dataset with some missing data. In this dataset, there are two variables that their missing data behaviors are same. Because these variables represent hormone measures, absence of one leads to lack of another (those are measured together). What is the missing-data mechanism in this situation?
Missingness comp... |
First, I don't know if this question is suitable for this site. I tried posting to Quora, but the length was too long. If it's not an acceptable question, would someone please suggest a more appropriate place?
I'm a student currently finishing up an MS in electrical engineering. In the past few months I've gotten reall... |
Just a question in terms of context:
Error implies uncertainty or uncertainty implies error ?
Say for example, when you are not sure about your measurement ( i.e. have uncertainty) then you probably have an error. If you have have error in your measurement then you are uncertain about the true value.
So can the two... |
I've been dealing with PCA over the past week and I ended up with a requirement for performing PCA (in Python Machine Learning
Book by Sebastian Raschka):
Note that the PCA directions are highly sensitive to data
scaling, and we need to standardize the features prior to PCA if the features were measured on differen... |
I would like to know what is the unconditional distribution of variable $y \sim \text{Neg-Bin}(r, p)$ when $r \sim \text{Poisson}(\lambda)$.
|
I'm working on estimating the performance of a predictive model. However, a rather large amount of covariate data is missing. My initial idea was to use cross-validation to estimate the prediction error by doing the following in each step:
Fit an imputation model on the training part
Use the imputed training data to f... |
I have a dataset of energy measurements taken every minute from the energy footprint of home appliances. Based on that I am trying to detect human presence in the house. Since the data is sequential, I decided to use a recurrent neural network (LSTM) to model it.
Because the classes are unbalanced (~60/40) I am using ... |
What is the common way to do metric learning using python? I'm already familiar with the metric-learn package, is there any other packages? It does not contain all of the algorithms I saw here. Perhaps I should use another language?
|
Algorithms like policy iteration and value iteration are often classified as dynamic programming methods that try to solve the Bellman optimality equations.
My current understanding of dynamic programming is this:
It is a method applied to optimization problems.
DP problems exhibit optimal substructure, i.e., the opt... |
I would like to derive the basis functions for restricted cublic splines with K knots ($\epsilon_1,...,\epsilon_K$):
$h_1(X)=1\text{, }h_2(X)=X\text{, }h_{j+2}(X) = d_j(X)-d_{K-1}(X)\text{, }j=1\text{ to } K-2 $
where $d_j(X)=\frac{(X-\epsilon_j)^{3}_+ - (X-\epsilon_K)^{3}_+}{\epsilon_K-\epsilon_j}$.
I started with the... |
I have the following problem with a system of minimum distance equations I want to solve. The objective is to estimate the parameters of the random variables in the following DGP:
$$
x_t= \phi_t(\zeta^{u}_t+\zeta^{\nu}_t)+\zeta^{\nu}_t+\epsilon^{\nu}_t+(\theta^{\nu}-1)\epsilon^{\nu}_{t-1}+\theta^{\nu}\epsilon^{\nu}_{t-... |
I have data which looks like this
Reason 1 Reason 2 Reason 3
----------------------------------------------
Year 1 | 20 | 120 | 120 |
Year 2 | 220 | 20 | 2120 |
Year 3 | 2053 | 1120 | 1200 |
Year 4 | 30 | 3120 | 12 |
I now wa... |
I'd like to implement a version of Metropolis-adjusted Langevin sampling, but I'm unsure how to go about tuning the parameters of the proposal density.
My understanding is that in MALA, a proposal is generated as:
$$
X^*=X+\tau\nabla \log\pi(X)+\sqrt{2\tau}\xi
$$
where $\pi(X)$ is the target density and $\xi\sim Norma... |
I am stuck with this problem in my research.
I am having a State Space Model like the below mentioned one:
State Equation: $\mathbf{d}_k = \mathbf{d}_{k-1} + \mathbf{u}_k + \boldsymbol{\epsilon}_k$ and
Observation equation: $\mathbf{y}_k = \mathbf{f}(\mathbf{d}_k, \boldsymbol{\theta}_k) + \boldsymbol{\eta}_k$, where $\... |
Consider two lists:
Mined List
Subject, Score
Subject_A , 11
Subject_B, 9
Subject_C, 9
Ground Truth List
Subject, Score
Subject_A , 17
Subject_D, 15
Then, how to compute the difference in ranks for Spearman’s rank correlation coefficient?
Subject | Mined | Ground Truth
Subject_A | 1 | ... |
Is it possible to have access to trained model, e.g. through some API, and reverse engineer the model by asking for predictions for some arbitrary data, therefore recover the support vectors of the model and thus original training data (medical records, faces e.t.c)? If not, why not?
I read about similar attempt in htt... |
I have a regression dataset where the features are on the order of ~ 400 variables and the dataset itself is around 300 samples. I tried to use Random Forest Regression (RFR) on the dataset and used either out-of-bag (oob) score or k-fold cv score to judge its performance. The kind of behavior I see right now that I'm ... |
I would like to use the $\chi^2$ statistic to evaluate the quality of fit of different models to an experimental data set that has many more data points than the number of independent Shannon Data Channels. My understanding is the number Shannon Data Channels is the number of degrees of freedom in the data, and should... |
I have a training test with 3000 samples, 100 features per sample.
For each sample, there is also a label column with the sample "price" - continuous variable with infinite values possible (think of price of a house, for example)
My end goal is to build a model, based on the training set, which predicts a new sample "p... |
I have a dataset with about 2 million vectors, the dimension is 200 (D = 200). I want to plot just a few (N = 20) of them in a 2D space. For another, much smaller dataset with a dimension of 20 I did a PCA transformation and plotted the transformed vectors in 2D space:
from matplotlib.mlab import PCA
import matplotlib.... |
I am playing around with topic modeling, and I notice a lot of related plural and singular words in my corpus (e.g. 'champion' and 'champions' are both found).
I gave the porter stemmer in NLTK a shot, but full-on stemming removes a lot of other details that I would like to retain.
Is there a way to depluralize terms u... |
Let's say you are given a time series prediction, and it's corresponding 95% upper and lower confidence interval. What would be the best metric for summarizing these confidence intervals in a single, easy-to-understand number?
I.E. Maybe you could take the width of the confidence interval as a percentage of the predict... |
For my greenhouse experiment with potted trees, I am planing a fractional factorial design. The experiment has six factors (treatments) each with two factor-levels, and I want to use a model/package, which creates me the right experimental design (factor combination; blocking). Currently, I am using the package ‘planor... |
I am trying to work out the standard deviation of a percentage change. I have the mean baseline value 'a' and the mean follow up value 'b', along with their standard deviations.
Percentage change is: (b-a)/a
I am able to calculate the SD of (b-a):
The formula for which I obtained from: https://en.wikipedia.org/wiki/P... |
A short shot of help would be great!! Thanks a lot in advance.
I have asked same probands to rate two groups of people, e.g. unemployed indivduals versus employed individuals with parallel formulated items, e.g.
How motivated are unemployed people?
How motivated are employed people?
Answers are given on a 6-point li... |
I am conducting a survival analysis of time to loss for employees in a company. I have a couple of questions:
I have a dataset of employees who started at different times over a 10 year period. Is it OK to conduct an analysis of all employees combined over this period, and maybe include a variable in the model for yea... |
I'm a beginner experimenting with machine learning and regression.
I have a dataset that looks like the following, where cost is the target (dependent) variable.
Since the relationships seem skewed and exponential, is it appropriate to take the log of all of them before applying linear regression, like the following... |
I want to apply an ANOVA analysis to my nested data. My data structure is as follows:
I have 2 sites (Bruuk en Ketelbroek). Each site has 2 types of habitat; a main habitat (Struweel for Ketelbroek and Nat_bos for Bruuk) and a secondary habitat (grassland for both). In the main habitat I randomly deployed 2 pitfall ser... |
I am doing a research on the relation ship between FDI and GDP between 1980-2015 in one country. The values used are FDI stock and real gdp.
I ran the test using pcgive. But, for the optimal lag strucuture test, I get these results. Are these acceptable results?
Also, using the optimal lag structure which is 2, I ra... |
Given the following situation, can an accurate total be calculated?
A document is downloaded from my website.
82% of people use Microsoft Office, which I can't track.
18% of people use OpenOffice, LibreOffice which I can track when the document is read
There's 5000 total downloads (so 4100 use MSOffice and 900 use Ope... |
The Problem
I have been working on an epidemiological meta-analysis of prevalence values, measured as proportions but analyzed in logit-space. The conditions I study are quite rare (<5%) so all estimates are close to 0. Due to the presence of heterogeneity across samples, it is important that I report both the mean as ... |
One gets different results upon using a univariate approach (boxplot) vs using a multivariate approach (Cook's distance). Which is more advisable ? Univariate boxplots are pretty easy to use but one can end up misjudging observations.
|
It is intuitively clear that a statistical analysis based on continuous data is more informative (i.e. has more statistical power) than if the same data is transformed into a categorical variable based on a certain threshold value.
Could somebody please point me to a literature reference for this simple statement, pref... |
I have the following problem:
I have a website category (Baby products) that during September last year went through a process of reorganisation.
So I have a specific traffic value for August and a traffic value for October.
The stakeholder wants to see if the modifications worked and if the difference is "significant"... |
I have a raw signal from a sensor which is attached in this question . The x-axis is time, and the y-axis is the signal response. As you can see from the data, the baseline of the noisy signal shifts from approximately t1 = 22 s to a new baseline value at t2 = 24 s. I am using R to do the analysis. What I did was grou... |
On crowd sourcing sites like mechanical turk, we may ask people to rate two models in the scale of, say 1 to 5.
Obviously, some people will give 5 for the good one and 1 for the bad one, while some may give 3 and 2, etc. In other words, each person has their own scale within the specified range.
As such, standard devia... |
Suppose we have a Markov decision process with a finite state set and a finite action set. We calculate the expected reward with a discount of $\gamma \in [0,1]$.
In chapter 3.8 of the book "Reinforcement Learning: An Introduction" (by Andrew Barto and Richard S. Sutton) it is stated that there always exists at least ... |
When doing PLS regression, you normally have a 2D matrix where each row is a sample of known class identity (in the case of a training set) where the 2D matrix is the X, and the class information is the Y. However, my dataset is different. I have a bunch of 2D spectra combined into a 3D matrix. Each entire 2D matrix ha... |
When i use t-test using standard deviation which is equal to $5$ which is sample
standard deviation. I get P-value for which i have to reject
null-hypothesis but when i use z-test assuming that the population
standard deviation is known and that is also equal to $5$ then i get
different P-values and i can reject the n... |
Setup:
Say I have some Bayesian predictive model I assume to be true for each observation $x_1$. Each $x_2$ is a latent/unseen/hidden random variable. The parameters are $\theta$. It's a mixture distribution:
$$
p(x_1) = \int p(x_1|x_2,\theta)p(x_2|\theta)p(\theta)dx_2d\theta.
$$
I can sample, for $i=1,\ldots,N$, $\t... |
I did some tutorials and read few articles but still have a problem with SVM, exactly with SVR.
I'm doing analysis in R and I use e1071 library with "svm" function. Into that function I use my multivariable equation, so svm works since now like SVR.
My results:
(general: cost=1,gamma=0.1666)
-epsilon=0.1(61 SV-supporte... |
I'm trying to conceptualize a network analysis problem and figure out where to start in terms of analysis techniques in R. Apologies as I'm fairly new to all this.
Basically, I have a employee network for an organization which spans multiple geographies. I want to define metrics to calculate how well the nodes in a spe... |
For instance, suppose I'm using a national data set which includes a measure of subjective life satisfaction for children (I'm just making this up).
Model 1: I have variables that theory and prior research have found
to be associated with life satisfaction.
Model 2: I restrict the model to only children whose parents... |
Sorry if the previous post caused any inconvenience to you. I am a newbie in Radial Basis Functions (RBF) and this is the first time I post a question.
I have 80 pairs of Y=body weight and X= body length of a species. Usually, the relationship between these variables is modeled as Y=a*X^b and classical or Bayesian stat... |
I am doing a retrospective analysis on a study has has cases and controls. I am looking to see if there is an association with death, using exact logistic regression. I am confused on whether I need to include covariates in the model that are associated with the outcome (death) or the independent variable of interest (... |
Suppose a linear model has been fitted with design matrix X and there are estimates $\boldsymbol{\hat{\beta}}$ and $\hat{\sigma}^{2}$. For given covariates, $x_{*}$, the predicted response is $\hat{y}_{*} = x_{*}^{T}\boldsymbol{\hat{\beta}}$.
Here is the bit I don't get: why is $Var(x_{*}^{T}\boldsymbol{\hat{\beta}}) =... |
What is the main difference between the classical approach of the
calculation of two-way ANOVA and the general linear model (GLM) approach?
Is it possible to determine the coefficients of a general linear
model from the output of the classical two-way ANOVA?
The classical approach is based on the Fisher's method.
|
I am considering a regression model
$$y_i=x_i'\beta+\varepsilon_i, \quad E[x_i \varepsilon_i]\neq 0,$$
where I use the instrumental variables approach with instruments $z_i$ ($E[z_i \varepsilon_i]=0$ and $E[z_i x_i']$ having full column rank). So I have
$$\widehat{\beta}_{IV} = (Z'X)^{-1} Z'y.$$
Now I want to bootstra... |
Suppose one knows that a distribution is essentially a multivariate Gaussian, but that some of the points are contaminated. The theory of M-estimation shows that if you start with a possibly crude estimate of the shape/covariance of the distribution, reweight each point by its Mahalanobis distance, recomputed the shape... |
I'm interested in selecting a sample that is representative of a population. Additionally, I want to be able to quantitatively measure the representativeness of a sample. For example, is there a way to determine, for a sample size n, where n is some fraction of the population size x, how representative the sample is? C... |
I have to know the correlation between 2 variables (bivariate distribution). None of them are normally distributed, so I assumed that I should run Spearman's correlation, which gave me a correlation coefficient of 0.392 (p<0.05, and Pearson's correlation was equally p<0.05).
My problem is that now I would like to test ... |
Sorry if this is very easy but I have been struggling all day.
I have some data where I know the ages of 16 subjects:
3,3,4,4,4,5,5,5,5,5,5,5,6,6,7,9
and the corresponding answer:
Y,Y,Y,N,N,Y,Y,Y,Y,N,N,N,Y,N,N,N
and I keep reaching different conclusions! I am trying to see if there is a difference between the age and... |
Assume that $\{X_1,X_2,\ldots\}$ is a sequence of i.i.d. random variables with $EX_i=0$ and $VX_i = \sigma^2 < \infty$.
What are the conditions on a sequence of real numbers $\{a_1,a_2,\ldots\}$ that allows for the following convergence:
$$\frac{1}{n}\sum_{i=1}^na_i X_i\rightarrow 0,\;\text{in probability}.$$
|
I want to determine if method A provides the same results as method B. I obtain 2 sets of measurements using both method A and B. I therefore have 2 means that I want to compare using the paired t-test. I know that if the calculated T-value is higher than the chosen critical T-value, the null hypothesis can be rejected... |
I have a question about the lmer() function and repeated measures design with R.
In my study, each participant sees 60 trials, presented at random. In each trial, the participants have to report whether they see something or not (so, it is a yes/no answer). I was recommended to use R and the lmer package. I built the f... |
Why applying the covariance matrix to the original vector will turn the vector to the direction of largest variance? How do I intuitively understand this?
And what does the inverse of the covariance matrix do? What happens when applying the inverse of covariance matrix to a vector repeatedly?
|
I have a count dataset (num_samples=7, num_attributes=14117) that I want to normalize (for lack of a better word). Each of the samples has a different number of counts. Ultimately, I want to get rid of noise, scale everything onto the same level, and then create a correlation-based network. This question focuses on a... |
I'd like to test people's preference on model A against three other models B,C,D.
I asked 5000 people on crowd sourcing to rate all 4 models (thus, there are 20,000 ratings overall) in the scale of 1 to 5.
I've grouped the results into 3 categories, which are 1) model A won, 2) model A lost, and 3) model A and compared... |
if two processes X and Y are marginally univariate gaussian, and given the fact we know all the parameters for those processes, then how could I find the joint probability function, p(X,Y)?
if those two are instead marginally univariate gaussian mixture model, and given the fact that we know all the parameters of tho... |
Suppose we made $m$ tests in 2 samples from the population. For simplicity, we compared $m$ traits (i.e. bmi, temperature, height, etc) for equality in means between 2 groups of people (i.e. Germans and Americans) 2 times. In other words, we compared $m$ traits between 2 groups once and then tried to reproduce the rese... |
I am trying to learn inferential stats. I am facing few issues while solving a problem.
I have Confidence Interval for a population mean. I am getting it's vlaue as "
One Sample t-test
data: lead
t = 6.1023, df = 36, p-value = 5.074e-07
alternative hypothesis: true mean is not equal to 0
80 percent confidence in... |
I have 70 observations in my data. Therefore I believe I can afford to reserve very few observations for validation or for test prediction. Is it suitable to have only 5 observations in my validation data set, and 1 for test prediction? My proposed sample sizes would be,
Training= 64, Validation=5, Prediction=1.
Is it... |
I am aware that given the covariance matrix, we can generate correlated random variables by Cholesky Decomposition or SVD. (viz. How to generate correlated random numbers (given means, variances and degree of correlation)?)
I am interested to know if we could extend this idea to generate correlated random variables usi... |
I'm working with survey data and I have asked 7 questions with predefined responses. As an example, "How do you feel about the meal?" Answers: Satisfied, Ok, Not satisfied. I want to measure the strength of association between two variables. As an example: Strength of association between "Meal satisfaction and Overall ... |
I have a question about MLE and how it relates to OLS. I know how to relate OLS and MLE when the noise is normal and homoskedastic. I can apply the same reason for heteroskedastic noise. My question is that, clearly, the noise terms are no longer identical (though still independent). So, we can apply MLE even when the ... |
I have recently started working on binary classification using Convolution Neural Network (CNN). While training i am getting two outputs a Binary error (BinErr) and the output of the loss function (Objective) of softmax classifier which is converging to zero.
Studying about the softmax classifier first, I understand ... |
If I look at a quantile plot comparing normal distribution and other data, and some of the points lie below or above the line, how do I know what that represents? What I am asking is - how do I know if the data set has a left or right skew?
|
Is it legit to use predicted observations in a variable as a predictor or is this introducing a lot of uncertainty in the specific model?
|
I am trying to do binary classification of news articles using Recurrent Neural Net with word embedding. Following are the parameters of the model:
Data:
8000 labelled news articles (Sports:Non-sports::15:85)
Parameters:
embedding size = 128
vocabulary size = 100000
No. of LSTM cell in each layer = 128... |
I am new to data analysis and now working on a Mixed Effects Logistic Regression Model. Currently, I have the following data frame (model_data):
Road Id Vehicle_id entry_time exit_time
1 1 2017-01-31 00:00:00 2017-01-31 00:00:00
last_veh_time vehicle_type status
300 4... |
I am graduate student in math, it is my first look at the Deep learning. One of the things that strike me when looking at this material is what seems to be a confusion between implementation details and the big picture or the big principles. This confusion starts right away with a simple feed-forward network "architect... |
I read that it is possible to use the multiple regression, and to interpret that we can predict the dependent variable using the historical independent variables.
Y(t+1) = aX_1(t) + bX_2(t) + e(t)
Is it also possible to use the multiple regression in this case??
Y(t-1) = aX_1(t) + bX_2(t) + e(t)
Can I interpret the res... |
I'm reading a paper and they have a table describing the distribution of demographic variables by case and controls, but there is also a Ps column. I assume this is a p-value, but what are they testing for? A significance difference between the distributions? How would you calculate this? thanks, example table below:
I... |
I am trying to calculate the probability that any one of 5 independent events occur - each event has a 5% chance.
I calculated by saying the probability of any of n events is:
p1 = 0.05
pn = (1 - pn-1) * p1 + pn-1
For p5 I calculate 22.6%. I also verified this my writing small program which simulates this and found the... |
I am testing Mann-Whitney rank test with two vectors a and b. Vectors are almost similar so I expect a p-value near 0, but the returned p-value is near 1. What is the reason? I read the manual and also run the code with different parameters, but don't get anything near to what I expect.
from scipy.stats import mannwhit... |
I have a moderation model that I am specifying using SEM whereby X, M and X*M predict Y. However, I have a hypothesis that the moderator, M is predicted by another variable, Z.
i.e.
M = B01 + Z*a1
Y = B02 + Xb1 + Mb2 + (X*M)*b3
Is this possible (statistically)? I have not seen a SEM model whereby the moderator is predi... |
I read related answers here but did not help.
I am correlating two sets of features (time series) and for each given feature in the set A, I want to see which of the 9 features in the set B correlates significantly to it. The set A consists of 10 features and the set B - of 9. I want to adjust p values for Pearson corr... |
I would like to perform classification for a medical data however one class has very few number of instance, I want to generate new data for this class by using the properties of the existing data.
|
Thanks beforehand for your answers.
Is this procedure correctly done?
On a fail/pass test I test 100 samples, getting a 95% succes, thus I conclude that the success ratio is 0.95 (which is already an estimation, not the real success ratio of the entire population).
Then, Could I use the binomial to calculate the probab... |
I would like to discuss and analyze what is the best hypothesis test for this problem:
We have data with the distance that each football player of each team runs in a match. Now we want to find two teams with the most similar pattern (by comparing any combination of teams).
I agree the word "similar" is not clear i... |
I have a question on the best way to analyse a particular set of clinical data. The background to the study is assessing the effect of treatment delay on the time to resolution of a particular disease. If we delay treatment, does this lead to an increase in disease duration?
The independent variable is time to treatmen... |
The other day a coworker was claiming that Gaussian Process Regression with a squared exponential kernel (from now on, GPR) for a data set $D=\{\mathbf{x}_i,y_i\}_{i=1}^N$ could be interpreted as just summing $N$ Gaussian basis functions centered at the points $\mathbf{x}_i$, each one multiplied by $y_i$, which sounds ... |
My question is: What is the mathematical relationship between the Beta distribution and the coefficients of the logistic regression model?
To illustrate: the logistic (sigmoid) function is given by
$$f(x) = \frac{1}{1+\exp(-x)}$$
and it is used to model probabilities in the logistic regression model. Let $A$ be a dicho... |
In the package WeightedCluster there seems to be facilities for using K-medoids clustering (i.e. wcKMedoids()), but not the more common K-means. Some traditional recommendations of clustering specify that first one should determine the number of clusters using agglomerative clutering, e.g. Ward, and then create a final... |
For my master's thesis I am using a 3rd party program (SExtractor) in addition to a python pipeline to work with astronomical image data. SExtractor takes a configuration file with numerous parameters as input, which influences (after some intermediate steps) the statistics of my data. I've already spent way too much t... |
I'm currently analyzing microarray data.
Background on microarray normalization(not necessary to understand the question)
• Based on a global adjustment
$\log_2 {\frac{R}{G}} \rightarrow \log_2{\frac{R}{G}}-c\rightarrow \log_2{\frac{R}{kG}}$
• Choices for $k$ or $c = \log_2{k}$ are –$c$= median or mean of log ... |
I am wondering whether and how can I back-calculate the log-likelihood ratio statistic from a Cox proportional hazard analysis with 1 degree of freedom.
For instance, if I have an hazard ratio (HR) of 0.1327, with standard error of the ln(HR) of 0.0584, what computations should I perform and which would eventually be t... |
I would like to quantify the effect of 5 different visual stimuli on a particular behavior in a set of 10 animals.
Each animal sees each stimulus multiple (8) times.
Thus, each animal has received 5x8=40 stimulus presentations. For each presentation, I measure a value between 0 to 1, representing the behavior response... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.