Causal Web Application Quick Start and User Guide

Causal web is a Java web-based application that allows users to run causal modeling algorithms on their dataset.

Creating Your Account

You can create a new account by clicking "Create an account" link on the login page.

Causal Web User Login Page

Fill your information in the signup page. Make sure to read the Terms & Conditions agreement and check the agree box before clicking the signup button.

Causal Web User Registration Page

Upon finishing registration, the system will send out an email with an activation link. Go to your email accont and click on that link, then the Causal Web shows a confirmation message.

Causal Web User Activation Page

Login to Causal Web Application

Input your email address and password that you want to use to register with the Causal Web system. Check the "Remember Me" checkbox if you would like the browser automatically log you in next time you visit.

Causal Web User Login Page

Here we go! You are now in the Causal Web application.

Causal Web User Login Page

Uploading Your Dataset

Click on the Data Management link on the navigation bar on the left side. There is a sub menu that will appear. Click on the Import Data link.

Causal Web Upload Data Menu Page

You can EITHER drag & drop dataset file(s) into the dash-surrounded canvas OR you can click on the Browse button and choose the dataset file(s) you would like to upload to the Causal Web application. For testing purposes download this dataset: Retention.txt and upload it.

Causal Web Upload Data Page

The Import Data panel shows the dataset upload progress as a percentage along with MD5 checksums (confirms that an uploaded file's contents are unchanged after upload) for each of uploaded files.

Causal Web Uploading Data progress Page

You can also pause the upload of files and resume later. In the case of a disrupted connection, you can resume the upload by repeating the previous steps. The Causal Web application will detect the unfinished upload and resume from the latest point of the last attempt.

Once all your dataset file(s) are all uploaded, the progress bar will show the (completed) sign.

Summarizing Your Dataset

Before any analysis can proceed, the datasets need to be summarized. Specifically, you must indicate the delimiter used in the data file (tab vs. comma), and the types of variables found in the file. Once this is done, the Causal Web application will determine the number of columns (features) and rows (records) in the dataset.

Click on the Data Management menu on the navigation bar on the left side. The sub menu will slowly appear. Click on the Datasets menu.

Causal Web Uploading Data progress Page

The dataset page shows a list of datasets and their attributes. On the second Summarized column from the right, the yellow warning buttons indicate that the system has not yet summarized.

Causal Web Dataset Page

Click on the dataset's name's link to see the dataset information. From this stage, the data summary information is missing: the dataset needs to be summarized before conducting causal analysis.

Causal Web Dataset Review Page

From the dataset page, click on the yellow warning button to summarize a dataset. The data summarization page shows information of the dataset, its basic information, and additional information that will be determined after summarization (a number of rows and columns). The bottom panel has two radio boxes for you to choose variable type (continuous, discrete, or mixed), and delimiter (tab or comma). The Retention.txt dataset described above is tab-delimited and contains continous variables.

Causal Web Dataset Summarization review Page

Once the dataset is summarized, the dataset page changes its sign to be a green button. Click to see the additional information of this summarized dataset.

Causal Web Dataset Summarization Page

Click on the dataset's name's link to see the additional information.

Causal Web Dataset Summarization Page

Annotating Your Dataset

On the Datasets main page, the blue icon is for viewing and entering annotations.

Causal Web Dataset Annotation Page

Click the annotation icon, and you can add new annotation, just click the "New annotation" button.

Causal Web Dataset Annotation Page

The application will pop up the annotation form.

Causal Web Dataset Annotation Page

You can also add another annotation on top of the exisiting annotation.

Causal Web Dataset Annotation Page

Uploading the Prior Knowledge

Click on the Data Management menu on the navigation bar on the left side. There is a sub menu that will appear. Click on the Import Data menu.

Causal Web Upload Data Menu Page

You can EITHER drag & drop prior knowledge file(s) into the dash-surrounded canvas OR you can click on the Browse button and choose the prior knowledge file(s) you would like to upload to the CCD Web application. Note that the prior knowledge file needs to have .prior file extension.

Causal Web Upload Data Page

Executing an Analysis on Your Dataset

Click on the Causal Discovery menu on the navigation bar on the left side. The sub menu will slowly appear. FGES and GFCI are the currently supported algorithms.

FGES algorithm can handle Continuous, Discrete, and Mixed data files.

Causal Discovery Algorithms Menu Page - FGES

GFCI algorithm can handle Continuous, Discrete, and Mixed data files as well.

Causal Discovery Algorithms Menu Page - GFCI

The Dataset drop-down box contains a list of datasets that you have uploaded. If those datasets are already uploaded and they are not displayed in the dataset drop-down box, it means that the Data Summarization process to be reviewed in the first place prior to execute a causal FGES (Continuous) analysis.

If a prior knowledge file needs to be included in the analysis, Prior Knowledge File drop-down box contains a list of knowledge files. Before clicking the Next button, the data validation parameters need to be input.

FGES Algorithm Step One Menu Page

Here, the FGES Continuous algorithm page allows user to modify its parameters.

  • The first one is Penalty Discount and its default value is 2.
  • The second one is Search Maximum Degree and its default value is 100.
  • The third one is Faithfulness Assumed and its default value is checked.
  • The fifth one is Verbose output and its default value is checked.

Click Next to proceed or click Advanced Options (JVM) for the JVM customization.

FGES Algorithm Step Two Menu Page

Expert Mode: the JVM parameters allow users to customize JVM parameters such how much maximum memory (in Gigabyte scale) the process would allocate (e.g. 4).

FGES Algorithm Step Two on JVM Menu Page

This is the summary page before the FGES job analysis is put into the queue. Click on the number 1 (Select Dataset) or number 2 (Set Parameters) to go back to modify the parameters. Once, everything is set. Click the Run Algorithm! button.

FGES Algorithm Step Three Menu Page

The application will redirect to the Job Queue page. The analysis job is added to the queue. The Queued status means that it waits for the scheduler to run it once the executing slot is available. However, the Job Queue page does not currently automatically update the jobs' status (at least in this development stage). Refresh the Job Queue page from time to time to see the latest jobs' status.

Job Queue Page

Once the job slot is available, the queued job is then executed and its status changes to Running.

When the job is finished, it is automatically removed from the Job Queue page. The result of the analysis is added to the Results page.

Remove Job from Job Queue Page

In case the queued or running job needs to be killed or removed, click the Remove button on the first column on the Job Queue page from the right. The Remove Job confirmation page is popped up. Click Yes to kill the job or No to cancel the kill operation.

Remove Job from Job Queue Page

After the job cancellation is confirmed, the job's status changes to Kill Request. The scheduler will take care of removing of the job from the queue or killing a job in the server.

Kill Request Job from Job Queue Page

If the running job was killed or any error happened during the process, the error result will appear in the Results page. Its background is highlighted in red.

Finished Job in Algorithm Results Page

If there is an error, you will see the details of the error by clicking on error result link.

Killed Job in Algorithm Results Page

Reviewing Your Results

Click on the Results menu on the navigation bar on the left side. Click on the Algorithm Results menu.

Algorithm Results Page

The Algorithm Results page shows a list of results, their creation time and their size. In the first column from the right, the green Save buttons provide the ability for users to download results to their local computers. Click on the result's name's link to see a causal graph of the result.

Check the result files on their checkboxes to compare the results. Note: a number of comparing datasets can be more than two files.

Finished Job in Algorithm Results Page

The results page details the graph, the original dataset, and its parameters. Click on the View Full Screen button to see the causal graph in more detail.

Algorithm Result in Detail Page

Based on the nature of your data, sometimes you may see the generated graph (PAG) containing dashed links in addition to solid links. For example:

PAG Example

  • If an edge is dashed that means there is no latent confounder. Otherwise, there is possibly a latent confounder.

  • If an edge is green that means it is definitely direct. Otherwise, it is possibly direct.

Comparing Your Results

Click on the Results menu on the navigation bar on the left side. To compare two results click on the Algorithm Results item on the left. Select at least two results (place a checkmark next to the results) and click on Compare. Now click on the Result Comparisions item on the left.

Result Comparisons Menu Page

The Result Comparisons page shows a list of results, their creation time and their size. On the first column from the right, the green Save buttons provide the ability for users to download results to their local computers. Click on the result's name's the link to see the detail of the result comparisons.

Result Comparisons Page

The Result Comparisons page shows the datasets compared, and the table of edges, their mutual appearance in all comparing datasets, and their mutual endpoint types.

Result Comparisons in Detail Page

Downloading Your Result And Comparision Result

On the first column from the right of the Algorithm Results page, the green Save buttons provide the ability for users to download results to their local computers.

Finished Job in Algorithm Results Page

On the first column from the right of the Result Comparisions page, the green Save buttons provide the ability for users to download result comparisons to their local computers.

Result Comparisons Page

Submit Your Feedback

Click the Feedback menu on the navigation menu bar on the left. The Feedback page shows the email (optional), and the text area for the user feedback (required). Once, the feedback is filled, click the Send Feedback button.

Feedback Page

The green Thank you for you feedback! banner shows that the feedback submitted successfully.

Feedback Sent Successfully Page