Ace Your Reading and interpreting data Tests with Plainmath's Expert Help and Detailed Resources

Recent questions in Reading and interpreting data
Pre-AlgebraAnswered question
Boilanubjaini8f Boilanubjaini8f 2022-06-19

Equivalence of the persistence landscape diagram and the barcode?
I am studying persistent homology for the first time. I was reading Peter Bubenik's paper "Statistical Topological Data Analysis using Persistence Landscapes" from 2015 introducing persistent landscapes. I am quite confused on the approach on finding the values of the persistence landscape function using a barcode/persistence diagram. I feel like I have a naive misunderstanding of this topic as I shall attempt to explain.
Suppose X is a finite set of points in Euclidean space. From my understanding, if we consider the (finite length) persistence vector space given by the simplicial complex homology for a fixed dimension l, { H l ( X k ) } k = 1 n with maps { δ k , k }, for 1 k , k n, 1 k , k n, we have
{ H l ( X k ) } k = 1 n i = 1 m I ( b i , d i )
(Theorem 4.10 of this paper) for some multiset { ( b i , d i ) } i = 1 m , where I ( b , d ) gives the persistence vector space of length n,
0 . . . 0 R R R . . . 0 . . . 0
with non-zero vector spaces at values of the specified interval.
This multiset corresponds to the persistence diagram/barcode so that the k-th Betti number can be identified by finding the number of lines of the barcode that intersect the line x=k in R 2
Now Bubenik defines the Betti number of the persistence vector space for an interval [a,b] by β a , b = dim ( im ( δ a , b ) ), and the persistence landscape functions λ k : R [ , ], for k N by
λ k ( t ) = sup { m 0 β t m , t + m k }
Shouldn't β t m , t + m then correspond to the number of lines on the barcode that contain the interval [ t m , t + m ]], so that λ k ( t ) is the largest value of m that has at least k lines of the barcode intersecting [ t m , t + m ]?
I am confused on how the triangle construction is equivalent to the persistence landscape function instead. Any help would be much appreciated!

Pre-AlgebraAnswered question
Jaqueline Kirby Jaqueline Kirby 2022-06-17

4.6 The temperature of seawater at different depths and latitudes. Just as the atmosphere may be divided into layers characterized by how the temperature changes as altitude increases, he oceans may be divided into zones characterized by how the temperature changes as depth increases. We shall divide the oceans into three zones: the surface zone comprises the water at depths between 0 m and 200 m; the thermocline comprises the water at depths between 200 m and 1000 m; and the deep zone comprises water at depths exceeding 1000 m.
We shall assume that temperature is unaffected by longitude.
We shall assume that at all latitudes, temperature is a continuous function of depth. Informally, this means that you can sketch the graph of temperature versus depth (at a particular latitude and longitude) without lifting your pencil from thepage.
We shall assume that the wind and waves serve to mix water in the surface zone so effectively that the temperatureremains constant with depth. it does change with latitude, though, as the temperature in the surface zone is greatly affected by solar radiation [4]. We shall assume that the summer temperature in the surface zone is a linear function of latitude. Further, we shall assume that the summer temperature in the surface zone is 2 °C at the poles, and 24 °C at the equator.
We shall also assume that, because solar energy never makes it to the deepest water, the temperature remains constant with depth in the deep zone. In fact, we shall assume that water in the deep zone, no matter the latitude, remains at 2 °C throughout the year.
Since water in the surface zone can be warm, water in the deep zone is always cold, and the temperature at a given latitude is a continuous function of depth, the temperature must change with depth throughout the thermocline. We shall assume that, at each latitude and longitude, temperature is a linear function of depth in this zone.
Context: University coding assignment
So far from this information, I've managed to develop two models:
For the surface zone, I have T ( l ) = 11 45 l + 24 and for the deep zone, I have T(l)=2 where T is the summer temperature in degrees Celsius and l is the latitude in degrees (where 0 is the equator and 90 are the poles).
I'm having trouble interpreting this information to develop a linear model for the summer temperature of the seawater (T) at the thermocline zone. I know this model will differ from the last two as it will be a function of depth (rather than latitude), but the lack of data is really throwing me.
Any guidance would be greatly appreciated.

Pre-AlgebraAnswered question
landdenaw landdenaw 2022-06-14

Numerical (Second) Derivative of Time Series Data
First and second order derivatives are often used in chromatography to detect hidden peaks. The time series data consists of Instrumental Response vs. Time at very short time intervals (250 Hz). I wanted to calculate the second derivative of the data numerically in Excel. The simple option is that we calculate the first derivative and then calculate the first derivative of the first derivative to get the second derivative. The other option is to use the direct approach using central difference formula for the second derivative. The question is about the denominator of the second derivative from the central difference formula. It should the square of the time interval. This is my understanding and it is consistent dimensionally for example distance x (m) becomes acceleration (m/s2) as the second derivative of x.
A reviewer wrote a rather denigrating comment saying that there is a lack of understanding of the second derivative "definition" where the authors assert that the definition of a second derivative requires division by the square of the time interval. This reference to the square of a time interval suggests a worrying lack of understanding of the nature of the derivative d 2 d t 2 as an operator and not as an algebraic variable. Do mathematicians agree with the above comment? Can we interpret d 2 d t 2 as if it is repeating the d operator twice divided by time interval squared? Thanks.

Pre-AlgebraAnswered question
Gabriella Sellers Gabriella Sellers 2022-06-13

Log predictive density asmptotically in predictive information criteria for Bayesian models
I am reading this paper, Andrew Gelman's Understanding predictive information criteria for Bayesian models, and I will give a screenshot as below:
Under standard conditions, the posterior distribution, p ( θ y ), approaches a normal distribution in the limit of increasing sample size (see, e.g., DeGroot, 1970). In this asymptotic limit, the posterior is dominated by the likelihood-the prior contributes only one factor, while the likelihood contributes n factors, one for each data point-and so the likelihood function also approaches the same normal distribution.
As sample size n , we can label the limiting posterior distribution as θ | y N ( θ 0 , V 0 / n ). In this limit the log predictive density is
l o g p ( y θ ) = c ( y ) 1 2 ( k l o g ( 2 π ) + l o g | V o / n l + ( θ θ 0 ) T ( V o / n ) 1 ( θ θ 0 ) )
where c(y) is a constant that only depends on the data y and the model class but not on the parameters θ.
The limiting multivariate normal distribution for 0 induces a posterior distribution for the log predictive density that ends up being a constant (equal to  c ( y ) 1 2 ( k l o g ( 2 π ) + l o g | V o / n | ) ) minus 1 2 times a χ k 2 random variable, where k is the dimension of θ, that is, the number of parameters in the model. The maximum of this distribution of the log predictive density is attained when equals the maximum likelihood estimate (of course), and its posterior mean is at a vaue lower.
For actual posterior distributions, this asymptotic result is only an approximation, but it will be useful as a benchmark for interpreting the log predictive density as a measure of fit.
With singular models (e.g. mixture models and overparameterized complex models more gener- ally) a set of different parameters can map to a single data model, the Fisher information matrix i not positive definite, plug-in estimates are not representative of the posterior, and the distribution of the deviance does not converge to a χ 2 distribution. The asymptotic behavior of such models can be analyzed using singular learning theory (Watanabe, 2009, 2010).
Sorry for the long paragraph. The things that confuse me are:
1. Why here seems like we know the posterior distribution f ( θ | y ) first, then we use it to find the log p ( y | θ )? Shouldn't we get the model, log p ( y | θ ) first?
2. What does the green line "its posterior mean is at a value k 2 lower" mean? My understanding is since there is a term 1 2 χ k 2 in the expression and the expectation of χ k 2 is k, which lead to a k 2 lower. But k 2 lower than what?
3. How does the log p ( y | θ ) interpreting the measure of fit? I can see that there is a mean square error(MSE) term in this expression but it is an MSE of the parameter θ, not the data y.
Thanks for any help!

Pre-AlgebraAnswered question
manierato5h manierato5h 2022-06-12

Using Quaternion Coefficients to transform a vector from one reference frame to another
I hope this question is not too trivial, and I welcome any pointers to good resources for this problem. I am not familiar with quaternions and have never had to use them before--all my learning about them has been my reading tonight. But most of the resources I've found haven't been too helpful, and I suspect I'm missing vocabulary that I might need to get to the information I need.
Suppose I have sensor which provides the quaternion coefficients for its relative rotation to some "primary" frame of reference. These coefficients are available in a vector, w , x , y , z , corresponding to the quaternion w + x i + y j + z k. I have a second vector, provided by the same sensor, which indicates acceleration, and is provided in the form X , Y , Z . This second vector provides the data from the sensor's frame of reference, not with respect to the "primary" frame of reference.
My goal is to transform the acceleration vector to the primary reference frame, so I can find the components of that vector with respect to my primary reference frame. This way I can determine the acceleration in each direction in the primary frame of reference.
From terms I've encountered, and a handful of other posts on similar issues, it seems that I would need to use some sort of rotation matrix, or possibly--since I have the quaternion already--use its inverse to return to the primary frame. But I am unsure of this, and wouldn't know how to do that without a better understanding of the methods involved.
I am hoping someone could point me to clear resources on this sort of problem, or explain the procedure (ideally with a simple example), and would be deeply grateful for any assistance.

Interpreting data questions are mostly approached with the help of complex word problems where logic always comes first. Take a look at the list of questions posted below and see how certain equations have been used. The majority of answers presented will have a free take on things as there are no definite rules in certain scenarios. Reading through these solutions will help you learn how to interpret and read various scientific data. It is an essential aspect for engineers and architects, as well as students majoring in sociology or related sciences.