Data Analysis: Observation Model Problem

In summary: The optimal solution will be different for different noise distributions.In summary, the observation model for this case involves a parameter vector, observation matrix, and additive noise. When the total weight of the rocks is unknown, the observation model becomes a least squares problem to find the masses of the rocks. However, when the total weight is known, the model can be solved using standard methods such as substitution or elimination. The presence of noise in the simulations affects the accuracy of the solution.
  • #1
lep11
380
7
The task is to write the observation model for the following case: There are three rocks whose unknown masses are ##m_1,m_2## and ##m_3##. You are able to measure the weight of two rocks at a time (not only one and not all three). Can you deduce the unknown masses of the rocks? Simulate the cases when the total weight of the rocks is

a) unknown
b.) known.

Use additive noise in the simulations. What is the difference in the observation models in parts a) and b)?

The observation model will be ##z=H\theta+v##, where ##z## is column vector containing the results, ##H## is the observation matrix, ##\theta## is the parameter vector and ##v## is a vector containing random additive noise.

b.)
In this case ##z##=[1 1 0; 1 0 1; 0 1 1; 1 1 1]*[##m_1## ##m_2## ##m_3####]^{T}##+##v##.

Here's the code I came up with:
Code:
H=[1 1 0;1 0 1; 0 1 1; 1 1 1];% Observation matrix
z=[4.45, 7.35 ,6.8, 10]'; % simulated weights of rock pairs, (I just made them up)
th=inv(H'*H)*H'*z; %solving for m1,m2,m3

It is easy to solve for the masses of the rocks using matrix operations. However, I am not sure how to model the two cases properly. How would one simulate the cases? What if the total weight of the rocks is unknown? Can you please help me with this problem?

P.S. I apologise in advance if this is wrong section for this topic.
 
Last edited:
Physics news on Phys.org
  • #2
Anyone?
 
  • #3
Without noise, you get three equations and three unknowns:

m1 + m2 = a
m2 + m3 = b
m3 + m1 = c

This can be solved by any standard method: substitution, elimination, matrix, etc.

Once you add noise, there is not an exact solution. It mostly becomes something like a least squares problem:

minimizing the square error between m1 + m2 and a, m2 + m3 and b, m3 + m1 and c.
 

1. What is data analysis?

Data analysis is the process of collecting, organizing, and interpreting data to identify patterns, trends, and insights. It involves using statistical and mathematical techniques to analyze and make sense of large sets of data.

2. What is an observation model?

An observation model is a mathematical representation of a real-world system or phenomenon. It is used to describe how data is collected and how it relates to the underlying variables or factors that affect the system.

3. What is the purpose of an observation model in data analysis?

The purpose of an observation model is to help researchers understand and interpret the data they collect. It provides a framework for analyzing and making predictions based on the data, and can also help identify potential sources of error or bias in the data.

4. What are some common problems with observation models in data analysis?

Some common problems with observation models include inaccurate or incomplete data, incorrect assumptions about the underlying system, and overfitting the model to the data. It is important for scientists to carefully evaluate and validate their observation models to ensure they accurately represent the real-world system.

5. How can observation models be used to solve real-world problems?

Observation models can be used to solve real-world problems by providing insights and predictions based on data analysis. For example, they can be used to identify patterns and trends in consumer behavior to inform marketing strategies, or to predict the spread of diseases to inform public health measures. They can also be used to optimize processes and systems, such as in manufacturing or supply chain management.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
29
Views
913
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • Electrical Engineering
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
621
  • MATLAB, Maple, Mathematica, LaTeX
Replies
0
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • Electrical Engineering
Replies
0
Views
328
  • MATLAB, Maple, Mathematica, LaTeX
Replies
7
Views
2K
  • Advanced Physics Homework Help
Replies
14
Views
1K
Back
Top