How to Test conditional independence between random variables using available samples? [closed] - matlab

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
How can I test for the independence between two random variable given another one(i.e. whether P(A|C)=P(A|C,B) or not?) using available samples. in other words, I just have 1000 samplesf for 3 random variables generated by bntoolbox on Matlab and now I wanna test for CI between arbitrary random variables.
I've read something about Fisher's method but honestly don't understand it.
Thanks is advance.

Related

Pressurized vessel in modelica [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I've been trying to create a pressurized vessel in openmodelica but i'm stuck.
The block i'm trying to build is a simple vessel for liquid pressurized by gas.
So two input ports (liquid input, gas input) and an output port for pressurized liquid outlet. The total volume of the vessel is constant. Looks simple but stuck with the duality gaz/liquid.
It's hard to provide any advice without your code. However, pressure vessels have been modelled in Modelica before and you could take inspiration from the following free libraries:
TRANSFORM: e.g. models in TRANSFORM.Fluid.Volumes
ThermoPower: e.g. ThermoPower.Water.Accumulator.mo
Buildings: e.g. model Buildings.Fluid.Storage.ExpansionVessel.mo

Reading a 5-D double data structure in matlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How do I read a 5-D data structure (of type double) in matlab? I have loaded the data in matlab and it says 5-D double. How do I read it afterwards
With the current information I cannot say much, but usually this is a good first try:
In matlab navigate to the file, right click on it and choose import data.
The import wizard is quite powerful so you have a good chance to get the data you need from that. Afterwards you may need to try help reshape if it does not have the right dimensions yet.

printing special ascii characters that appear as empty string in matlab [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to print the NAK char over serial to a device. On putty, I do this with Ctrl+U. However, in matlab I don't think I'm doing this correctly. I tried:
fprintf(s,char(21))
to no avail.
in matlab, disp(char(21)) shows nothing, what should I be doing?

Visiblox Charting: Ruler Behavior for calculating delta values [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Has anybody experience of working on RulerBehavior of Visiblox charting toolkit? I am looking for some delta finding examples. Visiblox forum does not contain any such information. So if anyone can share his/her experience.
thanks in advance
Delta values?
As in Max value minus Min value?
Here is what I do:
double xMeasure = (double)MyRuler.MaxX - (double)MyRuler.MinX;
double yMeasure = (double)MyRuler.MaxY - (double)MyRuler.MinY;

How to load .txt file on Matlab and how to work on it? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm new on Matlab. I don't know how to load .txt file end then open it to start work. The file is composed by 1 column with over 10.000 elements. I'm going to open it and then to deleted some elements, these deleted elements must be more little than a fixed value, how can I do it.
Thank you very much for your time.
Mario
Read the following part of the user guide: http://www.mathworks.co.uk/help/techdoc/import_export/br5s7ig.html
or use the MATLAB editor if you want to do it interactively:
edit(textfilename)